home/.zsh_aliases
2023-01-01 17:47:17 +03:00

52 lines
1.1 KiB
Plaintext

# aliases list
alias aliases='cat /mnt/store/home/.bash_aliases'
# delete package
alias delete_pkg='yay -R'
# question before delete
alias rm='\rm -i'
# cfiles
alias ran='ranger'
alias rrr='/mnt/develop/projects/cpp/rrr/build/bin/rrr'
# ./run for develp
alias run='./run'
alias deploy='./deploy'
alias update='./update'
# goto
alias srv='. \srv'
# run nvim
alias nvc='XDG_DATA_HOME=$HOME/.config/nvchad/share XDG_CONFIG_HOME=$HOME/.config/nvchad nvim'
alias nv='XDG_DATA_HOME=$TVIM_CONFIG_DIR/share XDG_CONFIG_HOME=$TVIM_CONFIG_DIR nvim'
# move to dir
alias ..='cd ..'
alias ....='cd ../../'
alias ......='cd ../../../'
alias ........='cd ../../../../'
alias .2='cd ../../'
alias .3='cd ../../../'
alias .4='cd ../../../../'
alias .5='cd ../../../../../'
# previous command
alias pr='fc -s'
# play video
alias screenshot='coreshot'
alias play='mpv'
alias rec='screencast -S rec.mp4'
alias rec_cam='vlc --verbose 3 v4l://:v4l-vdev="/dev/video0" --sout "#transcode{vcodec=mp1v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=mpeg1,dst=/home/chatlanin/rec_cam.mpg}}"'
# bpytop
alias bp='bpytop'
# z.lua
alias goto="z -I"