Поправил zshrc

This commit is contained in:
Alexander Neonxp Kiryukhin 2025-04-25 01:17:59 +03:00
parent e460676b0a
commit 458d6c6fff
Signed by: NeonXP
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI
2 changed files with 20 additions and 26 deletions

View file

View file

@ -45,16 +45,14 @@ alias j="sudo journalctl"
alias s='sudo'
alias sctl="sudo systemctl"
alias ll="ls -AFhl"
alias cp="cp -i" # Confirm before overwriting something
alias cp="cp -i"
alias gitpush="git add . && git commit --amend --no-edit && git push -f"
alias k="kubectl"
alias yu="ssh-add -e /usr/lib/x86_64-linux-gnu/libykcs11.so; ssh-add -s /usr/lib/x86_64-linux-gnu/libykcs11.so"
alias m="micro"
alias n="nvim"
alias cp="cp -i" # confirm before overwriting something
alias df="df -h" # human-readable sizes
alias free="free -m" # show sizes in MB
alias np="nano -w PKGBUILD"
alias n.="nvim ."
alias cp="cp -i"
alias df="df -h"
alias free="free -m"
alias gitu='git add . && git commit && git push'
alias g=git
alias nsh='wl-paste | curl -d @- https://nixshare.ru/upload 2>/dev/null | wl-copy'
@ -65,10 +63,6 @@ alias p=python3
# Functions
function tk() { mkdir -p $1; cd $1; }
function alert() {
notify-send --expire-time=30000 $1 $2 && nohup play ~/.local/share/alarm.wav &
}
## Options section
setopt correct # Auto correct mistakes
setopt extendedglob # Extended globbing. Allows using regular expressions with *