aliases.zsh: disable some

This commit is contained in:
leo 2023-07-01 20:55:38 +02:00
parent beeff9db75
commit 08ee327386
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -27,11 +27,11 @@
alias tmpdir='nutmp=$(mktemp -d);cd "$nutmp";unset nutmp' alias tmpdir='nutmp=$(mktemp -d);cd "$nutmp";unset nutmp'
alias wolm='wol d4:3d:7e:53:c2:b1' alias wolm='wol d4:3d:7e:53:c2:b1'
alias ta='tmux a -t0' alias ta='tmux a -t0'
alias dc='docker-compose' # alias dc='docker-compose'
alias tmux='TERM=xterm-256color tmux' alias tmux='TERM=xterm-256color tmux'
alias urlencode='python2 -c "import urllib, sys; print urllib.quote_plus( sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1], \"\")"' alias urlencode='python2 -c "import urllib, sys; print urllib.quote_plus( sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1], \"\")"'
alias urldecode='python2 -c "import urllib, sys; print urllib.unquote_plus(sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1])"' alias urldecode='python2 -c "import urllib, sys; print urllib.unquote_plus(sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()[0:-1])"'
alias obs="QT_QPA_PLATFORM=xcb obs" # alias obs="QT_QPA_PLATFORM=xcb obs"
alias diff="diff -Naru --color" alias diff="diff -Naru --color"
alias ip='ip -color' alias ip='ip -color'
alias nmcs='nmcli conn show' alias nmcs='nmcli conn show'
@ -40,13 +40,14 @@
alias gitagain='GIT_COMMITTER_DATE="$(git show -s --format=%ci HEAD)" git commit -v --amend' alias gitagain='GIT_COMMITTER_DATE="$(git show -s --format=%ci HEAD)" git commit -v --amend'
[ -z "$IN_NIX_SHELL" ] && { [ -z "$IN_NIX_SHELL" ] && {
if command -v nixGLIntel &> /dev/null; then if command -v nixGLIntel &> /dev/null; then
alias gor='nixGLIntel go run' # alias gor='nixGLIntel go run'
fi fi
} }
alias signal-desktop='signal-desktop --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland' alias signal-desktop='signal-desktop --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland'
alias dotfiles='cd ~/src/dotfiles' # on leo alias dotfiles='cd ~/src/dotfiles' # on leo
alias -g VV=' |& vim -' alias -g VV=' |& vim -'
alias -g LL=' |& less' alias -g LL=' |& less'
# alias podman='sudo podman' # rootful podman for ZFS
# nix home-manager switch # nix home-manager switch
alias -g nhms='home-manager switch --no-out-link -b backup --flake ~/src/dotfiles#$HOST' alias -g nhms='home-manager switch --no-out-link -b backup --flake ~/src/dotfiles#$HOST'
alias hx='helix' alias hx='helix'