diff options
| -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) | ||
