fish: add PATh and PKG_PATH for NetBSD

master
an 2019-08-05 19:17:38 -04:00
parent 0dde247d26
commit d0353649cd
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ switch (uname)
set -Ux _agw_dir_scripts ~/Scripts
set -Ux _agw_dir_src ~/Sources
case NetBSD
set -gx PATH $HOME/bin /bin /sbin /usr/bin /usr/sbin /usr/X11R7/bin \
/usr/pkg/bin /usr/pkg/sbin /usr/games /usr/local/bin \
/usr/local/sbin
set -gx PKG_PATH "http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/"(uname -p)"/"(uname -r | cut -f '1 2' -d. | cut -f 1 -d_)"/All"
set -Ux _agw_dir_bin ~/bin
set -Ux _agw_dir_rc ~/rc
set -Ux _agw_dir_scripts ~/rc/scripts