diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2018-08-26 20:46:41 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2018-08-26 20:46:41 +0200 |
commit | d3bfba9df85c6004910f1786335b2e07aa8b4c9d (patch) | |
tree | 3ebe2847cfcfd6fb0f4d18139f1b106623ce1b69 /zsh | |
parent | 655f3be5366a24bb4e7a8fc060e7ce8eed21b9b7 (diff) | |
download | dotfiles-d3bfba9df85c6004910f1786335b2e07aa8b4c9d.tar.xz |
zsh: Remove old aliases
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/aliases.zsh | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 1c989dc..8e4f1a0 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -16,23 +16,10 @@ alias ls='\ls "${ls_options[@]}"' alias ll='\ls "${ls_options[@]}" -l' alias grep='\grep --color' - alias mkdir='mkdir -vp' alias df='df -h' - -alias acp='acp -g' -alias amv='amv -g' - -alias ncmpcpp='ncmpcpp -c ~/.config/ncmpcpp/config' -alias wefree='weechat -a -r "/connect Freenode"' -alias msa='mbsync --config "$XDG_CONFIG_HOME/mbsyncrc" -a' - alias pt='pstree --highlight-all --long --uid-changes' - -alias sprin='curl -F "sprunge=<-" http://sprunge.us' -sprfile() { - curl -F "sprunge=<$1" http://sprunge.us -} +alias pb='curl -F c=@- https://ptpb.pw/' # Colored man man() { @@ -46,26 +33,6 @@ man() { man "$@" } -sp() { printf '%s' "$@"; printf '\n'; } - -have() { command -v "$1" >&/dev/null; } - -# service management -if have systemctl && [[ -d /run/systemd/system ]]; then - alias ssctl='sudo systemctl' - alias userctl='systemctl --user' - - alias list='systemctl list-units -t path,service,socket --no-legend' - alias ulist='userctl list-units -t path,service,socket --no-legend' - - alias lcstatus='loginctl session-status $XDG_SESSION_ID' - alias tsd='tree /etc/systemd/system' - - cgls() { SYSTEMD_PAGER='cat' systemd-cgls "$@"; } - usls() { cgls "/user.slice/user-$UID.slice/$*"; } - psls() { cgls "/user.slice/user-$UID.slice/session-$XDG_SESSION_ID.scope"; } -fi - tt() { if [[ -n "$@" ]]; then print "$@" | ts '[%Y-%m-%d %H:%M:%S]' >> "$HOME"/documents/timetracking |