diff --git a/bashrc b/bashrc index e65bc41..46c321b 100644 --- a/bashrc +++ b/bashrc @@ -173,6 +173,7 @@ function fuck { function cd #{{{ { + MY_LAST=`pwd` if [ $# -eq 0 ]; then builtin cd ~ && cons_set > /dev/null && ls else @@ -181,6 +182,10 @@ function cd #{{{ } #}}} +function back { + cd $MY_LAST +} + function pdfsearch #{{{ { for pdf in `find ./ -name "*.pdf"`; do diff --git a/inputrc b/inputrc index aca686b..dfa512d 100644 --- a/inputrc +++ b/inputrc @@ -1,4 +1,4 @@ #set editing-mode vi #set keymap vi -#set completion-ignore-case on -#set show-all-if-ambiguous on +set completion-ignore-case on +set show-all-if-ambiguous on