ref: setup.sh
This commit is contained in:
parent
88aa25d7bf
commit
37fa08b2ad
20
.zshrc
20
.zshrc
@ -261,17 +261,11 @@ if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
|
|||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
so () {
|
||||||
|
[ -f "$1" ] && source "$1"
|
||||||
|
}
|
||||||
|
|
||||||
# enable command-not-found if installed
|
so /etc/zsh_command_not_found
|
||||||
if [ -f /etc/zsh_command_not_found ]; then
|
so "$HOME"/.subbash/aliases
|
||||||
. /etc/zsh_command_not_found
|
so "$HOME"/.subbash/functions
|
||||||
fi
|
so "$HOME"/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
if [ -f $HOME/.bash_aliases ]; then
|
|
||||||
source $HOME/.bash_aliases
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -f $HOME/.bash_functions ]; then
|
|
||||||
source $HOME/.bash_functions
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,6 @@ Bash config files
|
|||||||
git clone https://github.com/TheK4n/dotfiles
|
git clone https://github.com/TheK4n/dotfiles
|
||||||
chmod u+x dotfiles/setup.sh
|
chmod u+x dotfiles/setup.sh
|
||||||
dotfiles/setup.sh
|
dotfiles/setup.sh
|
||||||
rm -rf dotfiles
|
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user