1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Merge branch 'tcsh' of https://github.com/jkuan/autojump into 282_add_tcsh_support

This commit is contained in:
William Ting 2014-06-28 18:57:07 -07:00
commit 349326c82c

12
bin/autojump.tcsh Normal file
View File

@ -0,0 +1,12 @@
# 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`'