Compare commits

..

No commits in common. "7db8503e413c61808097af4e91e9902c296505e9" and "a1c94d6da28a48c4a1eff540a7e0ca5091f7de62" have entirely different histories.

2 changed files with 2 additions and 13 deletions

@ -1 +1 @@
Subproject commit 3b4586d60019785aa59e0d824a31f283de75d2c3 Subproject commit eaf8f415e52271552675b539544fdc0dd10192a2

13
.zshrc
View file

@ -6,13 +6,6 @@ export editor=nvim
export XDG_CONFIG_HOME=~/.config export XDG_CONFIG_HOME=~/.config
export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P' export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
export ZSH=$HOME/.zsh export ZSH=$HOME/.zsh
export CLIPBOARD_NOGUI=1 # wayland only allows GUI apps to use the clipboard.
# cb would have to open every 2 seconds and steal
# focus. This sucks, so I will have to disable GUI
# integration (yes that means ctrl+v) for now.
#
# see https://github.com/Slackadays/Clipboard/issues/171
### Aliases ### Aliases
alias l="lsd -lah" alias l="lsd -lah"
@ -29,7 +22,6 @@ alias gg=lazygit
alias reload="source ~/.zshrc" alias reload="source ~/.zshrc"
alias gls=/bin/ls alias gls=/bin/ls
alias neorg='nvim -c "Neorg workspace $1"' alias neorg='nvim -c "Neorg workspace $1"'
alias accon="HOST=$(hostname) conda activate"
### non standard aliases ### non standard aliases
if [ -f ~/.zsh_aliases ]; then if [ -f ~/.zsh_aliases ]; then
@ -47,10 +39,6 @@ function cachekeys () { exec 2>/dev/null;
function newpass() { function newpass() {
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0} LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
} }
function condac() {
conda activate $@
export HOST=$(hostname)
}
# TODO: make neorg a function, take a workspace as arg # TODO: make neorg a function, take a workspace as arg
### ---- zsh options ------------------------------------- ### ---- zsh options -------------------------------------
@ -194,3 +182,4 @@ then
else else
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
fi fi