-
Notifications
You must be signed in to change notification settings - Fork 0
/
sh_alias
31 lines (25 loc) · 824 Bytes
/
sh_alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# alias definitions
alias ls='ls --color=auto'
alias li='du -cksh * | sort -h'
alias j="z" # jump for FASD
alias gka="gitk --all"
# change directories
alias cd..="cd .."
alias ...="cd ../../"
alias ....="cd ../../../"
alias .....="cd ../../../../"
alias ......="cd ../../../../../"
alias .2="cd ../.."
alias .3="cd ../../.."
alias .4="cd ../../../.."
alias .5="cd ../../../../.."
# piping to xclip
alias xxx="xclip -sel c"
alias xx="xclip -sel primary"
alias gka="gitk --all"
alias keyboard='setxkbmap -layout us -variant altgr-intl -option nodeadkeys -option compose:paus && xmodmap ~/dotfiles/xmodmap_switch_caps_esc'
alias planck='setxkbmap -layout us -variant altgr-intl -option nodeadkeys -option compose:paus'
# fasd
alias o='a -e xdg-open'
# lazygit (go get github.com/jesseduffield/lazygit)
alias lg="lazygit"