all repos — dotfiles @ ca626894ecd234fe4a759ac8ffbe05becbed1c00

my *nix dotfiles

bash/.bashrc.d/90-aliases.bash (view raw)

 1alias vime="vim ~/.vimrc"
 2alias o="xdg-open"
 3alias gc="git commit -v -S"
 4alias gst="git status --short"
 5alias ga="git add"
 6alias gd="git diff --minimal"
 7alias gl="git log --oneline --decorate --graph"
 8alias vim="nvim"
 9alias k="kubectl"
10
11nvmon() {
12	source ~/.nvm/nvm.sh
13}
14
15envac() {
16	source .env/bin/activate
17}
18
19vpn() {
20	~/bin/vpnon.sh
21}
22
23dt() {
24    time.sh -n
25}
26
27ggp() {
28    git push "$(git remote show)" "$(git branch --show-current)" 
29}
30
31
32ls() {
33    case "$OSTYPE" in
34        "darwin"*)
35            /bin/ls -G "$@"
36            ;;
37        *"bsd"*)
38            colorls -G "$@"
39            ;;
40    esac
41}
42
43m() {
44    case "$OSTYPE" in
45        "darwin"*)
46            s-nail "$@"
47            ;;
48        *"bsd"*)
49            nail "$@"
50            ;;
51    esac
52}