]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Remove annoying ligature
[config.org.git] / config.org
index 01304fcdac2c155f595919676f3a54384a85b3e0..63ca6ff178b99b4fded0502109678d60feb8f6cc 100644 (file)
@@ -86,9 +86,9 @@ Great programming font with ligatures.
        "!!" "!=" ">]" ">:" ">>-" ">>=" ">=>" ">>>" ">-" ">=" "&&&"
        "&&" "|||>" "||>" "|>" "|]" "|}" "|=>" "|->" "|=" "||-" "|-"
        "||=" "||" ".." ".?" ".=" ".-" "..<" "..." "+++" "+>" "++"
-       "[||]" "[<" "[|" "{|" "??" "?." "?=" "?:" "##" "###" "####"
-       "#[" "#{" "#=" "#!" "#:" "#_(" "#_" "#?" "#(" ";;" "_|_" "__"
-       "~~" "~~>" "~>" "~-" "~@" "$>" "^=" "]#"))
+       "[||]" "[<" "[|" "{|" "?." "?=" "?:" "##" "###" "####" "#["
+       "#{" "#=" "#!" "#:" "#_(" "#_" "#?" "#(" ";;" "_|_" "__" "~~"
+       "~~>" "~>" "~-" "~@" "$>" "^=" "]#"))
     (global-ligature-mode t))
 #+end_src
 *** Emoji
@@ -1025,11 +1025,20 @@ If no command given, =ls=, if in a Git repo, =git status= as well.
       mv $1.tmp $2
   }
 #+end_src
+**** Finger
+#+begin_src shell :tangle ~/.config/zsh/zshrc
+  finger() {
+      user=$(echo "$1" | cut -f 1 -d '@')
+      host=$(echo "$1" | cut -f 2 -d '@')
+      echo $user | nc "$host" 79 -N
+  }
+#+end_src
 *** Aliases
 **** SSH
 #+begin_src shell :tangle ~/.config/zsh/zshrc
   alias bhoji-drop='ssh -p 23 root@armaanb.net'
-  alias catgirl='ssh -p 23 -t root@armaanb.net abduco -a catgirl'
+  alias catgirl='ssh root@armaanb.net -t abduco -A irc catgirl freenode'
+  alias union='ssh 192.168.1.18'
   alias tcf='ssh root@204.48.23.68'
   alias ngmun='ssh root@157.245.89.25'
   alias prox='ssh root@192.168.1.224'
@@ -1086,11 +1095,11 @@ If no command given, =ls=, if in a Git repo, =git status= as well.
   alias cip='curl https://armaanb.net/ip'
   alias gps='gpg --keyserver keyserver.ubuntu.com --search-keys'
   alias gpp='gpg --keyserver keyserver.ubuntu.com --recv-key'
-#+end_src
-**** Docker
-#+begin_src shell :tangle ~/.config/zsh/zshrc
-  alias dc='docker-compose'
-  alias dcdu='docker-compose down && docker-compose up -d'
+  alias plan='T=$(mktemp) && \
+        rsync root@armaanb.net:/etc/finger/plan.txt "$T" && \
+        vim $T && \
+        rsync "$T" root@armaanb.net:/etc/finger/plan.txt'
+  alias wttr='curl -s "wttr.in/02445?n" | head -n -3'
 #+end_src
 **** Other
 #+begin_src shell :tangle ~/.config/zsh/zshrc