fish: add NetBSD config
parent
8409bfc27f
commit
63499a84af
|
@ -1,10 +1,7 @@
|
||||||
# vim: syntax=fish:
|
# vim: syntax=fish:
|
||||||
|
|
||||||
# launch tmux if we're in an interactive terminal emulator
|
# launch tmux if we're in an interactive terminal emulator
|
||||||
if status is-interactive
|
if status is-interactive && not status is-login && test -z "$TMUX"
|
||||||
and not status is-login
|
|
||||||
and test -z "$TMUX"
|
|
||||||
|
|
||||||
exec tmux new-session
|
exec tmux new-session
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -34,6 +31,13 @@ switch (uname)
|
||||||
set -Ux _agw_dir_rc ~/Sources/scripts
|
set -Ux _agw_dir_rc ~/Sources/scripts
|
||||||
set -Ux _agw_dir_scripts ~/Scripts
|
set -Ux _agw_dir_scripts ~/Scripts
|
||||||
set -Ux _agw_dir_src ~/Sources
|
set -Ux _agw_dir_src ~/Sources
|
||||||
|
case NetBSD
|
||||||
|
set -Ux _agw_dir_bin ~/bin
|
||||||
|
set -Ux _agw_dir_rc ~/rc
|
||||||
|
set -Ux _agw_dir_scripts ~/rc/scripts
|
||||||
|
set -Ux _agw_dir_src ~/src
|
||||||
|
case \*
|
||||||
|
echo (set_color red)"This platform is not configured!"
|
||||||
end
|
end
|
||||||
|
|
||||||
# execute scripts
|
# execute scripts
|
||||||
|
|
Loading…
Reference in New Issue