diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 21:35:20 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 21:35:20 +0200 |
commit | e54479a4eed08fbaff2983841771f687a8c6db4f (patch) | |
tree | 6fce7a57d6b51e209c52c7c86d1d19ef7191d84d | |
parent | 489a212e91a9ce9de9f143ddede3e014720622f9 (diff) | |
download | dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.gz dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.bz2 dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.tar.xz dotfiles-e54479a4eed08fbaff2983841771f687a8c6db4f.zip |
Copied .zshrc from SkaĆ°i
-rw-r--r-- | .zshrc | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ | |||
1 | #!/bin/zsh | ||
2 | |||
3 | alias -g '_X=$(xclip -o)' | ||
4 | nix-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 | |||
13 | export EDITOR="$(which emacs) -nw" | ||
14 | |||
15 | comm() { | ||
16 | urxvtc -e mosh -- gkleen@odin tmux attach-session -t comm | ||
17 | } | ||
18 | |||
19 | eval $(keychain -q --eval ~/.ssh/id_ecdsa ~/.ssh/id_rsa) | ||