2023-03-07 09:52:39 +00:00
|
|
|
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"
|
2021-02-18 08:13:53 +00:00
|
|
|
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"
|
2023-05-17 14:23:42 +00:00
|
|
|
alias ofw='on-file-write'
|
2023-03-07 09:52:39 +00:00
|
|
|
alias oneko='oneko -speed 20 -fg "#2f2f2f" -cursor 2 -name neko'
|
2021-02-18 08:13:53 +00:00
|
|
|
alias r='ranger'
|
2023-03-07 09:52:39 +00:00
|
|
|
alias ranger='source ranger'
|
2021-02-18 08:13:53 +00:00
|
|
|
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)'
|
2021-02-18 08:13:53 +00:00
|
|
|
alias sakura='oneko -bg "#ffddee" -sakura -name sakura'
|
2023-03-07 09:52:39 +00:00
|
|
|
alias setclip='xclip -selection c'
|
2021-02-18 08:13:53 +00:00
|
|
|
alias tmux='tmux -2'
|
2023-03-07 09:52:39 +00:00
|
|
|
alias w='watch -t -d -n 1'
|
2023-05-08 14:14:42 +00:00
|
|
|
alias wmu='wake-me-up'
|
2023-05-17 14:20:29 +00:00
|
|
|
pp() {
|
2023-05-17 14:21:52 +00:00
|
|
|
cd $(find-git-project $HOME/workspace "$@")
|
2023-05-17 14:20:29 +00:00
|
|
|
}
|
2023-03-07 09:52:39 +00:00
|
|
|
|
2023-06-27 06:51:53 +00:00
|
|
|
gfc() {
|
2023-10-13 08:23:06 +00:00
|
|
|
command="fadd"
|
2023-06-27 07:04:32 +00:00
|
|
|
unset patch
|
2023-06-27 06:51:53 +00:00
|
|
|
while test $# != 0
|
|
|
|
do
|
|
|
|
case "$1" in
|
|
|
|
--patch | -p) patch="--patch" ;;
|
2023-10-13 08:23:06 +00:00
|
|
|
--untracked | -u) command="faddall" ;;
|
2023-06-27 06:51:53 +00:00
|
|
|
--) shift; break ;;
|
|
|
|
*) break ;;
|
|
|
|
esac
|
|
|
|
shift
|
|
|
|
done
|
2023-10-13 08:23:06 +00:00
|
|
|
git $command $patch && git commit $@
|
2023-06-27 06:51:53 +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'
|
|
|
|
|
2023-09-05 07:39:03 +00:00
|
|
|
mcd() {
|
2021-04-14 13:33:11 +00:00
|
|
|
mkdir -p "$@"
|
2023-04-25 11:55:18 +00:00
|
|
|
cd "$@"
|
2021-06-09 08:35:17 +00:00
|
|
|
}
|