summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-08-14 03:34:40 -0700
committerxyz <gky44px1999@gmail.com>2022-08-14 03:34:40 -0700
commit93e8874e621d403976eaca72337b968778f98328 (patch)
treee612dc043f5b3c37c35b62a084ef35723be7889d /home/xyz/.profile
parenteb60925271ffa3d54c843fb82fdb6549f0f44b63 (diff)
.profile fzf env no sudo
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 1ae6b42b..2e3592fb 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -54,14 +54,14 @@ export XMODIFIERS=@im=fcitx
#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 . -mindepth 1 -path '*/\.git' -prune -o -print"
+export FZF_DEFAULT_COMMAND="find . -mindepth 1 -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" -mindepth 1 -path "*/\.git" -prune -o -print'
+export FZF_CTRL_T_COMMAND='find "$PWD" -mindepth 1 -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 . -mindepth 1 -path '*/\.git' -prune -o -type d -print"
+export FZF_ALT_C_COMMAND="find . -mindepth 1 -path '*/\.git' -prune -o -type d -print"
export SCR_WIDTH=1920
export SCR_HEIGHT=1080