mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
18 lines
454 B
Fish
18 lines
454 B
Fish
# 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
|
|
|
|
|