Compare commits
No commits in common. "7d80dece2ec9c83633a740f058547d7555dcfd48" and "91b37c860f5b3b5228d8222961ae9df3c4c9114b" have entirely different histories.
7d80dece2e
...
91b37c860f
2 changed files with 3 additions and 17 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 65f58457886ff2a957dc5f1bcb45d1fd97becb5f
|
Subproject commit d6f6f4721444555aff8b57df24f84b600b221cb2
|
18
.zshrc
18
.zshrc
|
@ -13,8 +13,6 @@ alias gg=lazygit
|
||||||
alias reload="source ~/.zshrc"
|
alias reload="source ~/.zshrc"
|
||||||
alias gls=/bin/ls
|
alias gls=/bin/ls
|
||||||
alias bat=batcat
|
alias bat=batcat
|
||||||
alias neorg='nvim -c "Neorg workspace $1"'
|
|
||||||
|
|
||||||
### non standard aliases
|
### non standard aliases
|
||||||
if [ -f ~/.zsh_aliases ]; then
|
if [ -f ~/.zsh_aliases ]; then
|
||||||
source ~/.zsh_aliases
|
source ~/.zsh_aliases
|
||||||
|
@ -33,19 +31,8 @@ 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() {
|
setopt autocd # change directory just by typing its name
|
||||||
conda activate $@
|
#setopt correct # auto correct mistakes
|
||||||
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 interactivecomments # allow comments in interactive mode
|
||||||
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
|
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
|
setopt nonomatch # hide error message if there is no match for the pattern
|
||||||
|
@ -308,4 +295,3 @@ fi
|
||||||
if [ -f /etc/zsh_command_not_found ]; then
|
if [ -f /etc/zsh_command_not_found ]; then
|
||||||
. /etc/zsh_command_not_found
|
. /etc/zsh_command_not_found
|
||||||
fi
|
fi
|
||||||
=======
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue