Links bashrc
This commit is contained in:
parent
94e0c0b685
commit
7eda331b57
18
tforgione.sh
18
tforgione.sh
|
@ -163,11 +163,23 @@ configure_dotfiles() {
|
||||||
clone_dotfiles
|
clone_dotfiles
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_zsh() {
|
configure_shell() {
|
||||||
|
|
||||||
yes_no_ask "do you wish to install and configure zsh ?"
|
yes_no_ask "do you wish to install and configure zsh ?"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
info "not installing zsh"
|
yes_no_ask "you don't want zsh ? Ok... but can I at least give you a nice bashrc ?"
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
info "ok :'( I guess I'm not doing anything then"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
clone_dotfiles
|
||||||
|
rm -f ~/.bashrc
|
||||||
|
ln -s `realpath ~/.config/dotfiles/bashrc` `realpath ~/.bashrc`
|
||||||
|
|
||||||
|
info "bashrc configured successfully"
|
||||||
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -286,7 +298,7 @@ main() {
|
||||||
sudo_available=$?
|
sudo_available=$?
|
||||||
|
|
||||||
configure_dotfiles
|
configure_dotfiles
|
||||||
configure_zsh
|
configure_shell
|
||||||
configure_neovim
|
configure_neovim
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue