summaryrefslogtreecommitdiff
path: root/.zshrc
blob: 3d7c9732ccc7bdced4fd3ccd99f43c90cbd58fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)