summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-07-03 21:35:20 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-07-03 21:35:20 +0200
commite54479a4eed08fbaff2983841771f687a8c6db4f (patch)
tree6fce7a57d6b51e209c52c7c86d1d19ef7191d84d /.zshrc
parent489a212e91a9ce9de9f143ddede3e014720622f9 (diff)
downloaddotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar
dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.gz
dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.bz2
dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.xz
dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.zip
Copied .zshrc from SkaĆ°i
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..3d7c973
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,19 @@
1#!/bin/zsh
2
3alias -g '_X=$(xclip -o)'
4nix-search() {
5 list=$(cat ~/.nix-pkgs)
6 for arg in $@; do
7 list=$(echo $list | fgrep --colour=always -i $arg)
8 done
9 echo $list
10 ( mv =(nix-env -qaP) ~/.nix-pkgs; ) &>/dev/null &!
11}
12
13export EDITOR="$(which emacs) -nw"
14
15comm() {
16 urxvtc -e mosh -- gkleen@odin tmux attach-session -t comm
17}
18
19eval $(keychain -q --eval ~/.ssh/id_ecdsa ~/.ssh/id_rsa)