config/zsh: split zprofile into zshenv and zlogin
This commit is contained in:
parent
1a29bcb1be
commit
5457718f21
|
@ -0,0 +1,18 @@
|
|||
window {
|
||||
background-color: rgba (0, 0, 0, 0.0);
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
#box-outer {
|
||||
/* Define attributes of the box surrounding icons here */
|
||||
background-color: rgba (255, 255, 255, 0.0)
|
||||
}
|
||||
|
||||
#box-inner {
|
||||
background-color: rgba (23, 53, 63, 0.0);
|
||||
border-radius: 5px;
|
||||
border-style: dotted;
|
||||
border-width: 1px;
|
||||
border-color: rgba (156, 142, 122, 0.0);
|
||||
padding: 10px;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
if test -z "$DISPLAY" && test "$XDG_VTNR" -eq 1 && test -e "$JOURNAL"; then
|
||||
echo "What do you want to do? Check your planner!"
|
||||
while test $(echo "$intention" | wc -c) -lt 6
|
||||
do read intention
|
||||
done
|
||||
jrnl intentions "$intention"
|
||||
exec startx
|
||||
fi
|
|
@ -161,7 +161,7 @@ unsetopt case_glob
|
|||
|
||||
setopt pipefail
|
||||
|
||||
# Enable zmv (see ZSHCONTRIB(1))
|
||||
# Empower zmv (see ZSHCONTRIB(1))
|
||||
alias szmv='sudo zsh -c autoload zmv && zmv'
|
||||
autoload zmv
|
||||
alias zmv='noglob zmv'
|
||||
|
@ -170,22 +170,31 @@ alias zcp='noglob zmv -C'
|
|||
alias zln='noglob zmv -L'
|
||||
alias zsy='noglob zmv -Ls'
|
||||
|
||||
for file in $CONFIG_SHELLS/*; do source $file; done
|
||||
for file in $CONFIG_SHELLS/*
|
||||
do source $file
|
||||
done
|
||||
|
||||
# GENERATED SHIT
|
||||
|
||||
test -e /usr/share/zsh/manjaro-zsh-config &&
|
||||
source /usr/share/zsh/manjaro-zsh-config
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit .p10k.zsh.
|
||||
test -s $CONFIG_ZSH/.p10k.zsh && source $CONFIG_ZSH/.p10k.zsh
|
||||
test -s $CONFIG_ZSH/.p10k.zsh &&
|
||||
source $CONFIG_ZSH/.p10k.zsh
|
||||
|
||||
test -d /usr/share/fzf && source /usr/share/fzf/key-bindings.zsh && source /usr/share/fzf/completion.zsh
|
||||
test -d /usr/share/fzf &&
|
||||
source /usr/share/fzf/key-bindings.zsh && source /usr/share/fzf/completion.zsh
|
||||
|
||||
which zoxide >/dev/null && eval "$(zoxide init zsh)"
|
||||
which zoxide >/dev/null &&
|
||||
eval "$(zoxide init zsh)"
|
||||
|
||||
test -f $XDG_CONFIG_HOME/broot/launcher/bash/br && source $XDG_CONFIG_HOME/broot/launcher/bash/br
|
||||
test -f $XDG_CONFIG_HOME/broot/launcher/bash/br &&
|
||||
source $XDG_CONFIG_HOME/broot/launcher/bash/br
|
||||
|
||||
# Nix
|
||||
test -e /home/janek/.nix-profile/etc/profile.d/nix.sh && source /home/janek/.nix-profile/etc/profile.d/nix.sh
|
||||
|
|
|
@ -112,12 +112,3 @@ export FZF_CTRL_T_COMMAND="$FD_BASE -d 7"
|
|||
export CTEST_PROGRESS_OUTPUT=1
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
export CTEST_PARALLEL_LEVEL=3
|
||||
|
||||
if test -z "$DISPLAY" && test "$XDG_VTNR" -eq 1 && test -e "$JOURNAL"; then
|
||||
echo "What do you want to do? Check your planner!"
|
||||
while test $(echo "$intention" | wc -c) -lt 6
|
||||
do read intention
|
||||
done
|
||||
jrnl intentions "$intention"
|
||||
exec startx
|
||||
fi
|
Loading…
Reference in New Issue