From 4d525867118a7bae76c249a827b20d50a2adbf2c Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 27 Feb 2020 15:00:07 +0000 Subject: [PATCH] remove unused aliases --- aliases.sh | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/aliases.sh b/aliases.sh index 5b8b568..017f347 100644 --- a/aliases.sh +++ b/aliases.sh @@ -4,8 +4,6 @@ alias sudo='sudo ' alias lsoff='sudo lsof +f -- ' -alias aur-update='trizen -Su --aur' - alias la='ls -lha --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' alias ll='ls -lh --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' alias ls='ls --color=auto -h' @@ -21,35 +19,26 @@ alias hgrep='history | grep --color=auto' alias grep='grep --colour=auto' alias grepef='grep --exclude-from .ignorefiles' -alias pipr='pip freeze > requirements.txt' - alias rcp='rsync --progress --size-only --verbose -rh' alias cdr='ranger --choosedir=/tmp/rangerdir; LASTDIR=`cat /tmp/rangerdir`; cd "$LASTDIR"' alias git-port='/home/ray/Scripts/git-change-remote-port.sh' - -alias telegram='telegram-cli -NAW -s ~/.telegram-cli/notify.lua' - alias ytdl='youtube-dl --write-info-json --write-description --no-playlist' alias ytdlb='youtube-dl --write-info-json --write-description --no-playlist -a' alias ytdl-mp3='youtube-dl -f bestaudio --extract-audio --audio-format mp3 --embed-thumbnail --add-metadata' -alias sherlock='/home/ray/Projects/Python/sherlock/venv/bin/python /home/ray/Projects/Python/sherlock/sherlock.py' - -alias sftpsb='sftp psb18896@psb18896.seedbox.io' - alias wttr='curl wttr.in' -alias isnet='ssh -p666 isnet.uk -t tmux' -alias b1.isnet='ssh -p666 b1.isnet.uk -t tmux' -alias s1.isnet='ssh -p666 s1.isnet.uk -t tmux' -alias hmb.isnet='ssh -p666 hmb.isnet.uk -t tmux' -alias kvm.isnet='ssh -p666 kvm.isnet.uk -t tmux' -alias ubuntu666='ssh ubuntu666 -t tmux' -alias debian666='ssh 192.168.0.101 -t tmux' -alias alarmpi='ssh 192.168.0.11 -t tmux' +alias pve='ssh pve.home' +alias omv='ssh omv.home' +alias isnet='ssh -p666 isnet.uk' +alias b1='ssh -p666 b1.isnet.uk' +alias s1='ssh -p666 s1.isnet.uk' +alias hmb='ssh -p666 hmb.isnet.uk' +alias kvm='ssh -p666 kvm.isnet.uk' +alias alarmpi='ssh 192.168.0.11' alias hosting='ssh -p2222 xuk@hosting.isnet.uk' alias hetzner='ssh ray@dokku.isnet.uk' alias mac='ssh ray@mac -t tmux' @@ -57,7 +46,6 @@ alias mac='ssh ray@mac -t tmux' alias dokku='ssh -t dokku@dokku.isnet.uk' alias pacman='~/.src/archnews/archnews_wrap' -alias aur-updates='trizen -Su --aur' # lf gets confused by TERMINFO env var when running in tmux # https://github.com/gokcehan/lf/issues/138#issuecomment-464477665 @@ -65,7 +53,6 @@ if [ -n "$TERMINFO" ] ; then alias lf="TERMINFO= lf" fi - # functions # $1 - output directory # $2 - size