aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-06 02:58:04 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-01 18:37:35 +0200
commit69423a47769d1564dc84f5330707c74a3138e96f (patch)
treee552309cdf5f238eea7e61a38b3b44898b857e4a /zsh
parentb6538e6139f0158099bd407bb737ed7b9af26e67 (diff)
downloaddotfiles-69423a47769d1564dc84f5330707c74a3138e96f.tar.xz
zsh: Drop old 5m aliases
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'zsh')
-rw-r--r--zsh/aliases.zsh66
1 files changed, 0 insertions, 66 deletions
diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh
index 4b9ad55..57762a3 100644
--- a/zsh/aliases.zsh
+++ b/zsh/aliases.zsh
@@ -20,9 +20,7 @@ alias amv='amv -g'
alias ncmpcpp='ncmpcpp -c ~/.config/ncmpcpp/config'
alias wefree='weechat -a -r "/connect Freenode"'
alias ms='mbsync --config "$XDG_CONFIG_HOME/mbsyncrc" theos'
-alias ms5='mbsync --config "$XDG_CONFIG_HOME/mbsyncrc" 5monkeys'
alias msa='mbsync --config "$XDG_CONFIG_HOME/mbsyncrc" -a'
-alias ty='ttytter -rc="$XDG_CONFIG_HOME"/ttytter/ttytterrc'
alias pt='pstree --highlight-all --long --uid-changes'
@@ -63,70 +61,6 @@ if have systemctl && [[ -d /run/systemd/system ]]; then
psls() { cgls "/user.slice/user-$UID.slice/session-$XDG_SESSION_ID.scope"; }
fi
-function 5v {
- if [[ -d "$HOME"/venvs/"$1" ]]; then
- source "$HOME"/venvs/"$1"/bin/activate
- printf "\x1b[38;5;2m==> 5venv ‘%s’ activated successfully.\x1b[0m\n" "$1"
-
- else
- printf "==> 5venv ‘%s’ not found\n" "$1"
- printf "==> Create? [yN]: "
- read yn
-
- if [[ "$yn" == 'y' || "$yn" == 'yes' ]]; then
- printf "==> Python version? [23]: "
- read venvver
-
- if [[ "$venvver" == '2' ]]; then
- virtualenv2 "$HOME"/venvs/"$1"
- if (( $? == 0 )); then
- print "\x1b[38;5;2m==> 5venv created successfully, installing basic requirements.\x1b[0m"
- else
- print "\x1b[38;5;1m==> Error: 5env creation failed. Exiting.\x1b[0m"
- return 1
- fi
- source "$HOME"/venvs/"$1"/bin/activate
- pip install -r "$HOME"/venvs/5_requirements.txt
-
- elif [[ "$venvver" == '3' ]]; then
- virtualenv3 "$HOME"/venvs/"$1"
- if (( $? == 0 )); then
- print "\x1b[38;5;2m==> 5venv created successfully, activating environment.\x1b[0m"
- print "==> Note that no requirements were installed due to version 3 was selected."
- else
- print "\x1b[38;5;1m==> Error: 5env creation failed. Exiting.\x1b[0m"
- return 1
- fi
- source "$HOME"/venvs/"$1"/bin/activate
-
- else
- printf "==> virtualenv for version ‘%s’ not found.\n" "$venvver"
- exit 1
- fi
- fi
- fi
-}
-
-function 5c {
- cd "$HOME"/projects/"$1"
-}
-
-function 5clone {
- if [[ -z "$1" ]]; then
- print "No repo name"
- fi
-
- (cd "$HOME"/projects
- git clone git@github.com:5m/"$1"
- shift
- cd -)
-
- pushd "$HOME"/projects/"$1"
- git config --local user.email johannes@5monkeys.se
-}
-
-alias 5ssh='TERM=xterm ssh'
-
tt() {
if [[ -n "$@" ]]; then
print "$@" | ts '[%Y-%m-%d %H:%M:%S]' >> "$HOME"/documents/timetracking