Initialization under fish

This commit is contained in:
Gergő Sulymosi
2014-02-27 23:02:54 +01:00
parent 7f8840eac9
commit 84de3da9ac
2 changed files with 28 additions and 0 deletions

17
init.fish Normal file
View File

@@ -0,0 +1,17 @@
# Set/fix Tmuxifier root path if needed.
if test -z $TMUXIFIER
set -gx TMUXIFIER "$HOME/.tmuxifier"
end
# Add `bin` directroy to `$PATH`.
if not contains "$TMUXIFIER/bin" $PATH
set -gx PATH "$TMUXIFIER/bin" $PATH
end
# If `tmuxifier` is available, and `$TMUXIFIER_NO_COMPLETE` is not set, then
# load Tmuxifier shell completion.
if test -n (which tmuxifier); and test -z $TMUXIFIER_NO_COMPLETE
source "$TMUXIFIER/completion/tmuxifier.fish"
end