From dd2843788d14a1003d0b64859b56e3a2eb989046 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 30 Dec 2015 17:43:34 +0100 Subject: Update alias.sh --- .config/bash/alias.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.config/bash/alias.sh b/.config/bash/alias.sh index 053fa4b..a090e59 100644 --- a/.config/bash/alias.sh +++ b/.config/bash/alias.sh @@ -1,7 +1,6 @@ # enable bashcompletion alias ebc="[[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh" -alias player="/home/ben/coding/cpp/audio/player" alias packages="eix -I --format \" \" | grep --color=never Found.*matches." # list hidden files - if directory do NOT show contents and dont display ".." @@ -12,8 +11,6 @@ alias la="ls -a" alias s="r 60 17" # resize terminal before launching curses-apps -alias vim="r; vim" -alias man="r; man" alias systemctl="systemctl --full" @@ -27,9 +24,6 @@ alias le="libtool --mode=execute" alias iw="/usr/sbin/iw" -alias nsmlab-virsh="virsh -c qemu+ssh://root@nsmlab.et.hs-wismar.de:1337/system" -alias nsmlab-virt-viewer="virt-viewer -c qemu+ssh://root@nsmlab.et.hs-wismar.de:1337/system" - alias cstrike="steam steam://rungameid/10" alias ssh="TERM=xterm ssh" @@ -42,3 +36,16 @@ alias vpn-home="vpn-kill; nmcli con up id home.bnfr.net" alias revolver="virt-viewer -c qemu+ssh://qbus@192.168.40.11/system revolver" [ -f ~/.config/bash/alias-qbus.sh ] && source ~/.config/bash/alias-qbus.sh + + +alias un64='awk '\''BEGIN{FS=":: ";c="base64 -d"}{if(/\w+:: /) {print $2 |& c; close(c,"to"); c |& getline $2; close(c); printf("%s:: \"%s\"\n", $1, $2); next} print $0 }'\''' + +alias vim='gvim -v' +alias vi='gvim -v' + +alias vim="r; vim" +#alias man="r; man" + +alias revolver="wine ~/.wine/drive_c/Program\ Files/Revolver\ Office/Revolver\ Office.exe" + +alias octave="octave --no-gui" -- cgit