terminal: Move bash and zsh into config directory
With the power of dotter for dotfile management we can move the files we want to link anywhere in our repository. So finally we're making use of it to keep the bash config files in the `terminal/.config/bash` directory, as well as removing the leading dot from both the zsh configuration files.
This commit is contained in:
parent
fa7e740249
commit
acc2496bd6
6 changed files with 5 additions and 0 deletions
19
terminal/.config/zsh/zprofile
Normal file
19
terminal/.config/zsh/zprofile
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
[ -f "$XDG_CONFIG_HOME/sh/profile" ] && . "$XDG_CONFIG_HOME/sh/profile"
|
||||
# .zlogin
|
||||
#
|
||||
if [ -d "$XDG_CONFIG_HOME/sh/profile.d" ]; then
|
||||
for file in "$XDG_CONFIG_HOME/sh/profile.d"/*.sh; do
|
||||
# shellcheck disable=1090
|
||||
source "$file"
|
||||
done
|
||||
unset file
|
||||
fi
|
||||
if [ -d "$XDG_CONFIG_HOME/zsh/profile.d" ]; then
|
||||
for file in "$XDG_CONFIG_HOME/zsh/profile.d"/*.zsh; do
|
||||
# shellcheck disable=1090
|
||||
source "$file"
|
||||
done
|
||||
unset file
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue