-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.bash_aliases
32 lines (29 loc) · 859 Bytes
/
.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
#/bin/bash
alias gopen="gnome-open"
alias xopen="xdg-open"
alias vpn="sudo openvpn /etc/openvpn/openvpn.conf"
alias firefox="env GTK2_RC_FILES=$HOME/.themes/Numix-flatstudio-turquoise/gtk-2.0/gtkrc firefox"
alias shutdown="sudo shutdown -h now"
alias osql="/home/olli/lib/oracleDbSofta/opt/sqldeveloper/sqldeveloper.sh"
alias fuck='eval $(thefuck $(fc -ln -1))'
alias boincd="sudo /etc/init.d/boinc-client"
alias lcd='cd $(ls -tr | tail -1)'
alias psgrep="ps -u $USER | grep"
alias rpsgrep='ps -u root | grep'
alias pi='pacaur -S'
alias pu='pacaur -Syu'
alias ls='ls --color'
alias cal='cal -m'
alias t="todo.sh"
alias json="python -m json.tool"
alias nr="notify-run"
alias nrm="notify-run -m"
function sgrp {
dir="src"
if [[ -f $PWD/.sgrp ]]; then
dir=$(cat $PWD/.sgrp)
fi
[[ -n "$2" ]] && dir="$2"
grep "$1" -r $dir --color=always
}
export sgrp