mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-09 04:46:19 +10:00
Merge pull request #44 from wting/add_zsh_install_support
Add zsh install support
This commit is contained in:
@@ -76,7 +76,9 @@ else
|
||||
source_file="${GVM_DEST}/gvm/scripts/gvm"
|
||||
fi
|
||||
|
||||
if [ "`uname`" == "Linux" ]; then
|
||||
if [ -n "$ZSH_NAME" ]; then
|
||||
update_profile $HOME/.zshrc
|
||||
elif [ "`uname`" == "Linux" ]; then
|
||||
update_profile $HOME/.bashrc || update_profile $HOME/.bash_profile
|
||||
elif [ "`uname`" == "Darwin" ]; then
|
||||
update_profile $HOME/.profile || update_profile $HOME/.bash_profile
|
||||
|
||||
Reference in New Issue
Block a user