summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
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)