From 0176935d1d53b71555b4809d08b1195fe80c4b2e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 11 Jun 2019 13:37:25 -0700 Subject: refactor for and setup groq machine --- common.nix | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'common.nix') diff --git a/common.nix b/common.nix index a80a165..0ac7c4c 100644 --- a/common.nix +++ b/common.nix @@ -162,17 +162,12 @@ in export PS1='\n\[\e[34m\][\u@\h:\w]\[\e[m\] $(date +%Y.%m.%d..%H.%M) \n$ ' ''; shellAliases = { - #z = "fasd_cd -d"; # cd, same functionality as j in autojump - #zz = "fasd_cd -d -i"; # cd with interactive selection - a = "fasd -a"; # any - add = "git add --ignore-removal"; - ci = "git commit"; - d = "fasd -d"; # directory - day = "date +%a"; - ddate = "date +%Y.%m.%d"; - dday = "date +%A"; - et = "emacs -nw"; # emacs in a terminal - f = "fasd -f"; # file + add = "git add --ignore-removal"; + ci = "git commit"; + day = "date +%a"; + ddate = "date +%Y.%m.%d"; + dday = "date +%A"; + et = "emacs -nw"; # emacs in a terminal fetch = "git fetch"; g = "grep -in"; ga = "git add -A"; @@ -190,18 +185,15 @@ in pull = "git pull"; push = "git push"; rm = "rm -i"; - s = "fasd -si"; # show / search / select - sd = "fasd -sid"; # interactive directory selection - sf = "fasd -sif"; # interactive file selection showpath = "echo $PATH | sed 's/:/\n/g'"; tdate = "date +%Y.%m.%d..%H.%M"; ttime = "date +%H.%M"; typeless = "history | tail -n 20000 | sed 's/.* //' | sort | uniq -c | sort -g | tail -n 100"; v = "vim"; "v." = "vim ."; - vs = "vim $(sk -m)"; - vk = "vim $(sk -m)"; vimdiff = "vim -d"; + vk = "vim $(sk -m)"; + vs = "vim $(sk -m)"; }; }; -- cgit v1.2.3