mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Print correct help info for init command based on the shell used
This commit is contained in:
@@ -39,10 +39,20 @@ if [[ " $@ " == *" --help "* ]]; then
|
|||||||
echo "usage: tmuxifier init -
|
echo "usage: tmuxifier init -
|
||||||
|
|
||||||
Load Tmuxifier by adding the following to your ${profile}:
|
Load Tmuxifier by adding the following to your ${profile}:
|
||||||
|
"
|
||||||
|
|
||||||
eval \"\$(tmuxifier init -)\"
|
case "$shell" in
|
||||||
|
csh | tcsh )
|
||||||
|
echo " eval \`tmuxifier init -\`
|
||||||
|
"
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
echo " eval \"\$(tmuxifier init -)\"
|
||||||
|
"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
You might also need to add Tmuxifier's bin directory to your PATH."
|
echo "You might also need to add Tmuxifier's bin directory to your PATH."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user