blob: 909be78a339b5045b150b5ee9cfe9fbf8f425b68 (
plain)
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
|
# enable bashcompletion
alias ebc="[[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh"
alias packages="eix -I --format \" \" | grep --color=never Found.*matches."
# list hidden files - if directory do NOT show contents and dont display ".."
alias lh="ls -d .[^.]*"
alias la="ls -a"
# resizing terminal
alias s="r 60 17"
# resize terminal before launching curses-apps
alias systemctl="systemctl --full"
# typos
alias sl=ls
# connect to
alias syn_c="ssh -f -N -R 24801:127.0.0.1:24800"
alias le="libtool --mode=execute"
alias iw="/usr/sbin/iw"
alias cstrike="steam steam://rungameid/10"
alias ssh="TERM=xterm ssh"
alias vpn-kill="nmcli dev disconnect tun0"
alias vpn-qbus="vpn-kill; nmcli con up id qbus-vpn"
alias vpn-lallf="vpn-kill; nmcli con up id lallf"
alias vpn-home="vpn-kill; nmcli con up id home.bnfr.net"
alias revolver-server="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="r; vim"
alias man="r; man --locale=en"
alias qpd='perl -MMIME::QuotedPrint -pe '\''$_=MIME::QuotedPrint::decode($_);'\'''
alias watch-linkstatus="r 150 ; while sleep 0.5; do clear; ip l; done"
alias revolver="wine ~/.wine/drive_c/Program\ Files/Revolver\ Office/Revolver\ Office.exe"
alias noverify_ssh="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
alias nopubkey_ssh="ssh -o PubkeyAuthentication=no"
alias phpstan="time bin/phpstan analyse -c Build/phpstan/phpstan.local.neon --memory-limit 32G"
alias ccm="git fetch origin && git checkout main && git reset --hard origin/main"
alias n="VIMINIT= nvim"
#alias t3test="./Build/Scripts/runTests.sh -b podman"
alias t3test="eval \$(git rev-parse --show-toplevel)/Build/Scripts/runTests.sh -b podman"
#alias octave="octave --no-gui"
|