Prompt - X or no X.
This commit is contained in:
parent
c96188c9f3
commit
9877c66c14
28
zsh/.zshrc
28
zsh/.zshrc
@ -16,20 +16,22 @@ mkdir -p $XDG_DATA_HOME/zsh
|
|||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
zstyle ':completion:*' list-colors ''
|
zstyle ':completion:*' list-colors ''
|
||||||
|
|
||||||
# aliases
|
# fancy stuff only in X or ssh
|
||||||
source $ZDOTDIR/aliases.zsh
|
|
||||||
|
|
||||||
# plugins & addons
|
|
||||||
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $ZDOTDIR/fzf.zsh
|
|
||||||
source $ZDOTDIR/modules/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
|
||||||
wd () {
|
|
||||||
. $ZDOTDIR/modules/wd/wd.sh
|
|
||||||
}
|
|
||||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
|
||||||
|
|
||||||
# theme
|
|
||||||
if [[ ! $(tty) =~ "/dev/tty.*" ]]; then
|
if [[ ! $(tty) =~ "/dev/tty.*" ]]; then
|
||||||
|
|
||||||
|
# aliases
|
||||||
|
source $ZDOTDIR/aliases.zsh
|
||||||
|
|
||||||
|
# plugins & addons
|
||||||
|
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $ZDOTDIR/fzf.zsh
|
||||||
|
source $ZDOTDIR/modules/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
||||||
|
wd () {
|
||||||
|
. $ZDOTDIR/modules/wd/wd.sh
|
||||||
|
}
|
||||||
|
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||||
|
|
||||||
|
# theme
|
||||||
source $ZDOTDIR/p10k.zsh
|
source $ZDOTDIR/p10k.zsh
|
||||||
source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme
|
source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user