Blallo 5 years ago
parent
commit
d285129e15
2 changed files with 39 additions and 32 deletions
  1. 10 0
      .zprofile
  2. 29 32
      .zshrc

+ 10 - 0
.zprofile

@@ -0,0 +1,10 @@
+alias t="tmux -2"
+alias sy="systemctl"
+alias ssy="sudo systemctl"
+alias sl="cmatrix -b -s"
+alias cd..="cmatrix -b -s -C yellow"
+alias lt="ls -lt"
+alias lh="ls -lh"
+alias la="ls -la"
+alias ll="ls -l"
+alias lrt="ls -lrt"

+ 29 - 32
.zshrc

@@ -63,30 +63,30 @@ export PATH=/home/leo/.gem/ruby/2.5.0/bin:$PATH
 source /home/leo/.rvm/scripts/rvm
 export rvmsudo_secure_path=1
 
-## Taken from old .zshrc
-
-dl () {
-    emulate -L zsh
-    autoload -U colors
-    local color=$fg_bold[blue]
-    integer i=0
-    dirs -p | while read dir
-    do
-            local num="${$(printf "%-4d " $i)/ /.}"
-            printf " %s  $color%s$reset_color\n" $num $dir
-            (( i++ ))
-    done
-    integer dir=-1
-    read -r 'dir?Jump to directory: ' || return
-    (( dir == -1 )) && return
-    if (( dir < 0 || dir >= i ))
-    then
-            echo d: no such directory stack entry: $dir
-            return 1
-    fi
-    cd ~$dir
-}
-
+# ## Taken from old .zshrc
+#
+# dl () {
+#     emulate -L zsh
+#     autoload -U colors
+#     local color=$fg_bold[blue]
+#     integer i=0
+#     dirs -p | while read dir
+#     do
+#             local num="${$(printf "%-4d " $i)/ /.}"
+#             printf " %s  $color%s$reset_color\n" $num $dir
+#             (( i++ ))
+#     done
+#     integer dir=-1
+#     read -r 'dir?Jump to directory: ' || return
+#     (( dir == -1 )) && return
+#     if (( dir < 0 || dir >= i ))
+#     then
+#             echo d: no such directory stack entry: $dir
+#             return 1
+#     fi
+#     cd ~$dir
+# }
+#
 # pcat
 alias pcat='pygmentize -f terminal256 -O style=native -g'
 
@@ -149,12 +149,12 @@ alias la="ls -la"
 alias ll="ls -l"
 alias lrt="ls -lrt"
 
-ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
-if [[ ! -d $ZSH_CACHE_DIR ]]; then
-  mkdir $ZSH_CACHE_DIR
-fi
+#ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
+#if [[ ! -d $ZSH_CACHE_DIR ]]; then
+#  mkdir $ZSH_CACHE_DIR
+#fi
 
-source $ZSH/oh-my-zsh.sh
+# source $ZSH/oh-my-zsh.sh
 # Setup fzf
 # ---------
 if [[ ! "$PATH" == */home/leo/Documents/coding/fzf/bin* ]]; then
@@ -193,8 +193,5 @@ alias geocityiplookup="geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat"
 
 alias mutt="neomutt"
 
-# antigen apply
-
-antigen apply
 
 # vim: et sw=2 ts=2