From e54479a4eed08fbaff2983841771f687a8c6db4f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 21:35:20 +0200 Subject: =?UTF-8?q?Copied=20.zshrc=20from=20Ska=C3=B0i?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .zshrc diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..3d7c973 --- /dev/null +++ b/.zshrc @@ -0,0 +1,19 @@ +#!/bin/zsh + +alias -g '_X=$(xclip -o)' +nix-search() { + list=$(cat ~/.nix-pkgs) + for arg in $@; do + list=$(echo $list | fgrep --colour=always -i $arg) + done + echo $list + ( mv =(nix-env -qaP) ~/.nix-pkgs; ) &>/dev/null &! +} + +export EDITOR="$(which emacs) -nw" + +comm() { + urxvtc -e mosh -- gkleen@odin tmux attach-session -t comm +} + +eval $(keychain -q --eval ~/.ssh/id_ecdsa ~/.ssh/id_rsa) -- cgit v1.2.3