-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
68 lines (54 loc) · 1.71 KB
/
.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
62
63
64
65
66
67
68
#!/bin/bash
#
## This file contains common aliases for both zsh and bashrc
# Functions
alias zshrc="vim ~/.zshrc && source ~/.zshrc"
alias psg="ps aux | grep -v grep |grep -i -e VSZ -e"
alias vssh="vagrant ssh"
# run git pull origin master in every subdirectory from .
alias gp="find . -name .git -type d -execdir git pull origin master -v ';'"
alias mvn='mvn -P \!create-iso,\!create-installation'
alias bashrc="vim ~/.bashrc && source ~/.bashrc"
alias vssh="vagrant ssh"
alias cd..="cd .."
alias ..="cd .."
alias ...="cd ../.."
alias moer="more"
#alias install="sudo apt-get install"
alias archey="pyarchey"
alias xdg="xdg-open"
alias google="chromium-browser http://www.gogle.com"
alias wx="curl wttr.in/Appomattox"
# HOME
alias homedev="ssh -Y [email protected]"
alias dev="ssh -Y [email protected]"
# HomeLab
alias hpdev="ssh -Y [email protected]"
alias hpdev2="ssh -Y [email protected]"
#alias devceph="ssh [email protected]"
alias devceph="ssh [email protected]"
# OSC builds
alias isc="osc -A ibs"
alias oscb="osc build --ccache"
alias oscsd="osc service localrun download_files"
cdl() { cd "$@" && ls -lhFA; }
alias ls='lsd'
if [ "$OS" = "mac" ]; then
alias ll='ls -lhFA'
else
alias ll='ls -lhFA --color=auto'
alias pbcopy='xclip -selection clipboard'
alias pbpaste='xclip -selection clipboard -o'
fi
WORK_VAG_NET="192.168.121.0/24"
WORK_VAG_ARD_NET="192.168.245.0/24"
WORK_DE_NET="10.160.224.0/24"
HOME_NET="192.168.0.0/16"
alias hometun="sshuttle -e 'ssh -Y' -r [email protected] ${HOME_NET}"
alias hptun="sshuttle -r [email protected] 192.168.122.0/24 192.168.121.0/24 192.168.16.0/24"
color_ssh () {
ssh $*
echo -e "\033]6;1;bg;*;default\a"
}
#alias ssh="color_ssh"
alias mp="multipass"