darkrc/shell/alias

38 lines
1.1 KiB
Text
Raw Normal View History

2023-06-20 20:45:04 +00:00
alias gfc='git fadd && git commit'
2023-03-07 09:52:39 +00:00
alias amend='git commit --amend'
alias bat="batcat"
alias co='checkout'
2023-02-01 08:21:51 +00:00
alias e="find-edit"
2023-02-18 21:04:00 +00:00
alias ff="find_files"
alias getclip='xclip -selection clipboard -o'
2023-03-07 09:52:39 +00:00
alias hello='echo "Hello :)"'
alias hlcat='highlight -O xterm256'
alias ll="ls -lAh"
alias ls="ls --color=auto"
alias ofw='on-file-write'
2023-03-07 09:52:39 +00:00
alias oneko='oneko -speed 20 -fg "#2f2f2f" -cursor 2 -name neko'
alias r='ranger'
2023-03-07 09:52:39 +00:00
alias ranger='source ranger'
alias rf='(f=$(tempfile); $(which ranger) --choosefiles $f; cat $f; rm $f)'
2023-03-07 09:52:39 +00:00
alias ro='(f=$(tempfile); $(which ranger) --choosefiles $f; rifle $(cat $f); rm $f)'
alias rr='$(whereis ranger | cut -d " " -f 2)'
alias sakura='oneko -bg "#ffddee" -sakura -name sakura'
2023-03-07 09:52:39 +00:00
alias setclip='xclip -selection c'
alias tmux='tmux -2'
2023-03-07 09:52:39 +00:00
alias w='watch -t -d -n 1'
alias wmu='wake-me-up'
pp() {
cd $(find-git-project $HOME/workspace "$@")
}
2023-03-07 09:52:39 +00:00
2022-05-07 08:04:48 +00:00
# Funny
alias please='sudo'
2022-05-07 08:10:05 +00:00
alias qed='[ $RANDOM -ge $((32767 / 100 * 10)) ] && echo Quod Erat Demonstrandum || echo Quo Errat Demonstrator'
2023-03-07 09:52:39 +00:00
alias shit='git'
alias yeet='rm -r'
mg() {
mkdir -p "$@"
2023-04-25 11:55:18 +00:00
cd "$@"
2021-06-09 08:35:17 +00:00
}