fish: add NetBSD config
parent
8409bfc27f
commit
63499a84af
|
@ -1,10 +1,7 @@
|
|||
# vim: syntax=fish:
|
||||
|
||||
# launch tmux if we're in an interactive terminal emulator
|
||||
if status is-interactive
|
||||
and not status is-login
|
||||
and test -z "$TMUX"
|
||||
|
||||
if status is-interactive && not status is-login && test -z "$TMUX"
|
||||
exec tmux new-session
|
||||
end
|
||||
|
||||
|
@ -34,6 +31,13 @@ switch (uname)
|
|||
set -Ux _agw_dir_rc ~/Sources/scripts
|
||||
set -Ux _agw_dir_scripts ~/Scripts
|
||||
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
|
||||
|
||||
# execute scripts
|
||||
|
|
Loading…
Reference in New Issue