diff options
author | xyz <gky44px1999@gmail.com> | 2021-07-04 00:07:21 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-07-04 00:07:21 -0700 |
commit | 8d4f6c30dc7cd66700cc688230e23826a497dec5 (patch) | |
tree | 8c7a40729137dd750c9b194186da98e66cbec146 | |
parent | 187f248025171dc02f37e2f732d39bef3ef3d98b (diff) |
sdcv color with less pager
-rw-r--r-- | .bash_profile | 1 | ||||
-rw-r--r-- | .bashrc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index 634f1844..2f19715c 100644 --- a/.bash_profile +++ b/.bash_profile @@ -18,6 +18,7 @@ export PATH="$(find ~/.local/bin -type d -printf %p:)$PATH" export FZF_DEFAULT_COMMAND="sudo find . -path '*/\.git' -prune -o -print" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_ALT_C_COMMAND="sudo find . -path '*/\.git' -prune -o -type d -print" +export SDCV_PAGER='less --quit-if-one-screen -RX' # startx when login, should be put after environmental variables for .xinitrc to use if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then @@ -21,5 +21,6 @@ alias ls='ls --color=auto' alias ll='ls -lAh --color=auto' alias cfgc='/usr/bin/git --git-dir=$HOME/.mycfg_cross_platform/ --work-tree=$HOME' alias cfgl='/usr/bin/git --git-dir=$HOME/.mycfg_local/ --work-tree=$HOME' +alias sdcv='sdcv --color' eval "$(zoxide init bash)" |