Skip to content

Commit 9a87e45

Browse files
committed
[ZSH] ad support for ZSH terminal users
1 parent 63e380b commit 9a87e45

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

install.sh

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ echo Installing $__bash_suite_program_dir to PATH
1212
mkdir $__bash_suite_program_dir
1313
import_path_line='export PATH="${PATH}:$(echo ~/.bashful)"'
1414
echo $import_path_line >> ~/.bash_profile;
15+
echo $import_path_line >> ~/.zshrc;
1516
echo Done
1617
echo $PATH
1718
echo;

uninstall.sh

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ edited_profile=$(cat ~/.bash_profile | sed -e "s#$import_path_line##g")
88

99
echo -e "$edited_profile" > ~/.bash_profile
1010

11+
# zsh users
12+
edited_profile=$(cat ~/.zshrc | sed -e "s#$import_path_line##g")
13+
echo -e "$edited_profile" > ~/.zshrc;
14+
1115
echo Done
1216
echo;
1317

0 commit comments

Comments
 (0)