1
0
mirror of https://github.com/wting/autojump synced 2025-06-08 10:24:07 +00:00
wting_autojump/bin/autojump.tcsh

16 lines
445 B
Tcsh
Raw Normal View History

2017-10-31 04:20:36 +00:00
# set the environment variable to let autojump know it's been loaded
setenv AUTOJUMP_SOURCED 1
2014-05-04 06:58:23 +00:00
# set user installation paths
if (-d ~/.autojump/bin) then
set path = (~/.autojump/bin path)
endif
# prepend autojump to cwdcmd (run after every change of working directory)
if (`alias cwdcmd` !~ *autojump*) then
alias cwdcmd 'autojump --add $cwd >/dev/null;' `alias cwdcmd`
endif
#default autojump command
alias j 'cd `autojump -- \!:1`'