Compare commits

...

4 commits

Author SHA1 Message Date
7d80dece2e Merge branch 'master' into kali 2023-11-02 17:25:02 -04:00
7db8503e41 update nvim 2023-10-28 23:27:28 +02:00
861d92dcd4 disable cb GUI 2023-10-28 23:27:11 +02:00
2e11b2f5ad std conda 2023-10-14 00:07:37 +02:00
2 changed files with 17 additions and 3 deletions

@ -1 +1 @@
Subproject commit d6f6f4721444555aff8b57df24f84b600b221cb2
Subproject commit 65f58457886ff2a957dc5f1bcb45d1fd97becb5f

18
.zshrc
View file

@ -13,6 +13,8 @@ alias gg=lazygit
alias reload="source ~/.zshrc"
alias gls=/bin/ls
alias bat=batcat
alias neorg='nvim -c "Neorg workspace $1"'
### non standard aliases
if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
@ -31,8 +33,19 @@ function cachekeys () { exec 2>/dev/null;
function newpass() {
LC_ALL=C tr -dc '[:alnum:]' < /dev/urandom | head -c${1:-$0}
}
setopt autocd # change directory just by typing its name
#setopt correct # auto correct mistakes
function condac() {
conda activate $@
export HOST=$(hostname)
}
### ---- zsh options -------------------------------------
setopt autocd
setopt correct # auto correct mistakes
setopt HIST_FIND_NO_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt appendhistory
setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY
setopt interactivecomments # allow comments in interactive mode
setopt magicequalsubst # enable filename expansion for arguments of the form anything=expression
setopt nonomatch # hide error message if there is no match for the pattern
@ -295,3 +308,4 @@ fi
if [ -f /etc/zsh_command_not_found ]; then
. /etc/zsh_command_not_found
fi
=======