diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..537478f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "bash_tools/autojump"] + path = bash_tools/autojump + url = https://github.com/wting/autojump diff --git a/bash_tools.sh b/bash_tools.sh index 5768d0f..da35e12 100644 --- a/bash_tools.sh +++ b/bash_tools.sh @@ -73,6 +73,9 @@ fi # -A: get rid of . and .. # -t: Sort by time. Display the newest first -# alias ls=ls -At +alias ls=ls -At source $DOTFILE_DIR/bash_tools/fzf_file_seletor.sh + +# add autojump +source $DOTFILE_DIR/bash_tools/autojump/bin/autojump.sh diff --git a/bash_tools/autojump b/bash_tools/autojump new file mode 160000 index 0000000..06e082c --- /dev/null +++ b/bash_tools/autojump @@ -0,0 +1 @@ +Subproject commit 06e082c91805cb022900819b2e0881eeae780d58 diff --git a/bash_tools/fzf_file_seletor.sh b/bash_tools/fzf_file_seletor.sh index 28c6f4c..300d675 100755 --- a/bash_tools/fzf_file_seletor.sh +++ b/bash_tools/fzf_file_seletor.sh @@ -18,7 +18,6 @@ set_wallpaper \ # fzf only match folders fzf_command_list_dir=(\ -ls \ cd \ )