-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
61 lines (58 loc) · 1.72 KB
/
.bash_aliases
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env bash
if command -v fdfind >/dev/null 2>/dev/null
then
alias fd=fdfind
fi
alias bc='bc -lq'
alias cal3="cal -3"
alias check="aspell check -d en_US"
alias checkNO="aspell check -d no"
alias df="df -h"
alias diffsmooth="diff --side-by-side --suppress-common-lines --ignore-trailing-space --ignore-space-change --ignore-all-space"
alias dnf="dnf -y"
alias dc="cd"
alias du="du -h"
alias ga="git add ."
alias gac="git add . && git commit -m \"\$(fortune | tr '\n' ' ')\""
alias gacp="git add . && git commit -m \"\$(fortune | tr '\n' ' ')\" && git push" # for private repos, I do not care what the commit message is
alias gcp="git commit -m \"\$(fortune | tr '\n' ' ')\" && git push" # for private repos, I do not care what the commit message is
alias gc="git commit -m \"\$(fortune | tr '\n' ' ')\""
alias gclean='(git gc --prune=now ; git remote prune origin) && git pull'
alias gdb="gdb --quiet"
alias gpg="gpg2"
alias grep="grep --color=always"
alias gs="git status"
alias hindent="hindent --style johan-tibell"
alias jkm='make'
alias kjm='make'
alias km='make'
alias ipy='ipython'
alias l='ls'
alias la='ls -A'
alias lear="clear"
alias ll='ls -alh'
alias ls='ls --color=auto -h'
alias lt='ls -t -r'
alias m="make"
alias mj='make'
alias mj='make'
alias mjk='make'
alias mk='make'
alias mkdir='mkdir'
alias mkj='make'
alias mountusb='sudo mount -o umask=000'
alias mv='mv -vi'
alias nvmi="nvim"
alias nvi="nvim"
alias nmiv="nvim"
alias no="setxkbmap no"
alias pg="ps aux | grep "
alias pirate="youtube-dl --no-playlist --extract-audio --audio-format mp3"
alias py="ipython"
alias scren='screen -T xterm'
alias screen='screen -UT xterm'
alias us="setxkbmap us"
function smallimg()
{
convert -size 32x32 "xc:${2:-orange}" "${1:-empty.jpg}"
}