Merge branch 'aliasfix' into home

This commit is contained in:
Andrew Holland 2017-05-10 17:54:30 +03:00
commit a78bfce235
4 changed files with 20 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#!/bin/zsh
F=`dmenu -l 18 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true' < /home/andrew/bin/nflist`
F=`dmenu -l 18 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true' < ~/bin/nflist`
C=`ls ~/bin/st* |dmenu -l 8 -fn 'Px437_ATI_SmallW_6x8 NF:style=Book:pixelsize=16:antialias=true'`
${C} -f "${F}"

16
aliases
View file

@ -12,3 +12,19 @@ mktruckdir() {
sudo mkdir ${1}
sudo chown truck:truck ${1}
}
shitwin() {
xfreerdp2 /u:"Andrew Holland" +clipboard /jpeg /size:1918x1044 /v:192.168.1.92 /bpp:32
}
firewall-ssh() {
badssh -oKexAlgorithms=+diffie-hellman-group1-sha1 ntcadmin@77.86.234.126
}
randmac() {
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
}
randmacxen() {
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
}

4
nflist
View file

@ -25,9 +25,9 @@
Px437_ITT_BIOS NF:style=2y:pixelsize=16:antialias=true
Px437_Phoenix_BIOS NF:style=2y:pixelsize=16:antialias=true
Px437_PhoenixEGA_8x8 NF:style=2y:pixelsize=16:antialias=true
Px437_TandyNew_225 NF:style=2y:pixelsize=16:antialias=true
Px437_TandyNew_225 NF:style=2y:pixelsize=24:antialias=true
Px437_TandyNew_TV NF:style=2y:pixelsize=16:antialias=true
Px437_TandyOld_225 NF:style=2y:pixelsize=16:antialias=true
Px437_TandyOld_225 NF:style=2y:pixelsize=24:antialias=true
Px437_TandyOld_TV NF:style=2y:pixelsize=16:antialias=true
Px437_Verite_8x8 NF:style=2y:pixelsize=16:antialias=true
Px437_VTech_BIOS NF:style=2y:pixelsize=16:antialias=true

2
powerline-shell-init Normal file → Executable file
View file

@ -1,5 +1,5 @@
function powerline_precmd() {
PS1="$(/home/andrew/stuff/powerline-shell/powerline-shell.py $? --shell zsh 2> /dev/null)"
PS1="$(~/bin/powerline-shell/powerline-shell.py $? --colorize-hostname --cwd-max-depth 3 --cwd-max-dir-size 6 --shell zsh 2> /dev/null)"
}
function install_powerline_precmd() {