diff options
author | xyz <gky44px1999@gmail.com> | 2021-07-19 12:07:32 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-07-19 12:07:32 -0700 |
commit | 8e85dae48638c659e15901638e2b1239e48954ff (patch) | |
tree | 07968d2ea4bde845b7999f2ea242107ab3dc6995 /.bash_profile | |
parent | 14c592c84e34ae71a8d36c49aa4c3371fbe09054 (diff) |
alias, hotkey
Diffstat (limited to '.bash_profile')
-rw-r--r-- | .bash_profile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.bash_profile b/.bash_profile index 024926f7..e45b6a32 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,17 +21,17 @@ export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" export QT_STYLE_OVERRIDE=kvantum export SDCV_PAGER="less --quit-if-one-screen -RX" -export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git" -export FZF_CTRL_T_COMMAND="fd --absolute-path --no-ignore --hidden --exclude .git" -export FZF_ALT_C_COMMAND="fd --no-ignore --hidden --type d --exclude .git" -#export FZF_DEFAULT_COMMAND="sudo find . -path '*/\.git' -prune -o -print" +#export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git" +#export FZF_CTRL_T_COMMAND="fd --absolute-path --no-ignore --hidden --exclude .git" +#export FZF_ALT_C_COMMAND="fd --no-ignore --hidden --type d --exclude .git" +export FZF_DEFAULT_COMMAND="sudo find . -path '*/\.git' -prune -o -print" # https://askubuntu.com/questions/444551/get-absolute-path-of-files-using-find-command # following two lines if use "" on the outermost, will not perfom expected, not sure why -#export FZF_CTRL_T_COMMAND='sudo find $PWD -path "*/\.git" -prune -o -print' +export FZF_CTRL_T_COMMAND='sudo find $PWD -path "*/\.git" -prune -o -print' #export FZF_CTRL_T_COMMAND='sudo find $(pwd) -path "*/\.git" -prune -o -print' # ~+ is bashism #export FZF_CTRL_T_COMMAND="sudo find ~+ -path '*/\.git' -prune -o -print" -#export FZF_ALT_C_COMMAND="sudo find . -path '*/\.git' -prune -o -type d -print" +export FZF_ALT_C_COMMAND="sudo find . -path '*/\.git' -prune -o -type d -print" # for clipmenu # set clipmenud to store clipboard only, don't store selection (primary) |