all repos — dotfiles @ 11b55ad1555aacf684b79b02fd8b1f86109d4fcb

my *nix dotfiles

feat(bin, zshrc): except IOError, add alias to script
Anirudh icyph0x@pm.me
Fri, 01 Jun 2018 15:10:25 +0530
commit

11b55ad1555aacf684b79b02fd8b1f86109d4fcb

parent

d04a6283cc7a5f5a3e3cdd8a734ebe753bcf7042

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M bin/oxo.nimbin/oxo.nim

@@ -9,7 +9,10 @@ var data = newMultipartData()

try: var file = paramStr(1) - data.addFiles({"file": fmt"{file}"}) + try: + data.addFiles({"file": fmt"{file}"}) + except IOError: + echo ";(" let url = "http://0x0.st" echo client.postContent(url, multipart=data) except IndexError:
M zsh/.zshrczsh/.zshrc

@@ -34,6 +34,7 @@ alias icyinfo="~/bin/icyinfo.sh"

alias gah='sudo $(fc -ln -1)' alias nvime='nvim ~/.config/nvim/init.vim' alias up="~/bin/icyup.sh" +alias x="~/bin/oxo.nim" alias envac="source .env/bin/activate" alias vim="nvim" alias vi="nvim"