Move shell sourcing up
This commit is contained in:
parent
2a9338a410
commit
bf43ddb8e4
18
.void.bashrc
18
.void.bashrc
|
@ -27,7 +27,20 @@
|
||||||
|
|
||||||
# set PS1 from file
|
# set PS1 from file
|
||||||
# USE ONLY AFTER GIT PROMPT
|
# USE ONLY AFTER GIT PROMPT
|
||||||
[[ -r ~/.ps1 ]] && . ~/.ps1
|
[[ -r ~/.ps1 ]] &&\
|
||||||
|
source ~/.ps1
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Optional source files
|
||||||
|
|
||||||
|
# BEGIN_KITTY_SHELL_INTEGRATION
|
||||||
|
[[ -n "$KITTY_INSTALLATION_DIR" ]] &&\
|
||||||
|
[[ -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash" ]] &&\
|
||||||
|
source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"
|
||||||
|
# END_KITTY_SHELL_INTEGRATION
|
||||||
|
|
||||||
|
# Google CLI
|
||||||
|
[[ -r ~/.googlerc ]] && source ~/.googlerc
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
|
@ -58,6 +71,3 @@ command -v starship &>/dev/null && eval "$(starship init bash)"
|
||||||
export XBPS_DISTDIR="$HOME/git/void-packages"
|
export XBPS_DISTDIR="$HOME/git/void-packages"
|
||||||
export SVDIR="$HOME/sv"
|
export SVDIR="$HOME/sv"
|
||||||
|
|
||||||
# BEGIN_KITTY_SHELL_INTEGRATION
|
|
||||||
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
|
|
||||||
# END_KITTY_SHELL_INTEGRATION
|
|
||||||
|
|
Loading…
Reference in New Issue