Merge branch 'master' of https://github.com/ChrisTitusTech/zsh into ChrisTitusTech-master

This commit is contained in:
Jiří Štefka 2021-11-14 19:08:23 +01:00
commit 6a8ffa0845
4 changed files with 49 additions and 18 deletions

27
aliasrc
View file

@ -10,7 +10,7 @@ ex ()
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.tar.xz) tar -xf ;;
*.tar.xz) tar xJf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
@ -43,18 +43,18 @@ export EDITOR=nano
alias pacman-update='sudo reflector -c $country -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist'
alias ls='ls --color=auto'
alias ls='ls'
alias ll='ls -l'
# ls, the common ones I use a lot shortened for rapid fire usage
alias l='ls -lFh --color=auto' #size,show type,human readable
alias la='ls -lAFh --color=auto' #long list,show almost all,show type,human readable
alias lr='ls -tRFh --color=auto' #sorted by date,recursive,show type,human readable
alias lt='ls -ltFh --color=auto' #long list,sorted by date,show type,human readable
alias ll='ls -l --color=auto' #long list
alias ldot='ls -ld .* --color=auto'
alias lS='ls -1FSsh --color=auto'
alias lart='ls -1Fcart --color=auto'
alias lrt='ls -1Fcrt --color=auto'
alias l='ls -lFh' #size,show type,human readable
alias la='ls -lAFh' #long list,show almost all,show type,human readable
alias lr='ls -tRFh' #sorted by date,recursive,show type,human readable
alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
alias ll='ls -l' #long list
alias ldot='ls -ld .*'
alias lS='ls -1FSsh'
alias lart='ls -1Fcart'
alias lrt='ls -1Fcrt'
alias zshrc='${=EDITOR} ~/.zshrc' # Quick access to the ~/.zshrc file
@ -91,8 +91,10 @@ alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias wallpaper=/home/jirka/.local/bin/wallpaper
alias wallpaper=/home/$USER/.local/bin/wallpaper
#alias vim='vim'
#alias vi='vim'
gitpush() {
git add .
git commit -m "$*"
@ -106,6 +108,7 @@ gitupdate() {
}
alias gp=gitpush
alias gu=gitupdate
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
#alias firefox='GTK_USE_PORTAL=1 firefox'
alias cls="clear"