aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-07-29 16:46:09 +0200
committerneodarz <neodarz@neodarz.net>2017-07-29 16:46:09 +0200
commitbffabd904c09d82e04558500d658671b8eb360d5 (patch)
treef2b6cc8f9ebd293a03b2daf4b3afc44c5d5acd67 /zsh
parent502b9d634a866831d4f0a1f19c47860b9f686dce (diff)
downloaddotfiles_ascii-t410.tar.xz
dotfiles_ascii-t410.zip
updatet410
Diffstat (limited to '')
-rwxr-xr-xzsh/.zsh/aliases.zsh17
-rwxr-xr-xzsh/.zsh/banner.zsh_ (renamed from zsh/.zsh/banner.zsh)0
-rwxr-xr-xzsh/.zsh/keychain.zsh4
3 files changed, 18 insertions, 3 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 2016691..bbf057b 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -26,7 +26,7 @@ alias cp="cp -r -i"
alias scp="scp -r"
alias mkdir="mkdir -p"
alias xsel="xsel -b"
-alias fuck='sudo $(fc -ln -1)'
+eval "$(thefuck --alias)"
alias v="nvim"
alias vi="nvim"
alias vim="nvim"
@@ -116,6 +116,13 @@ alias rssblog="newsbeuter -c /home/neodarz/.newsbeuter/blog.db -u /home/neodarz/
alias rsscode="newsbeuter -c /home/neodarz/.newsbeuter/code.db -u /home/neodarz/.newsbeuter/urls_code -C /home/neodarz/.newsbeuter/code_conf"
alias rsshardware="newsbeuter -c /home/neodarz/.newsbeuter/hardware.db -u /home/neodarz/.newsbeuter/urls_hardware -C /home/neodarz/.newsbeuter/hardware_conf"
alias rssactu="newsbeuter -c /home/neodarz/.newsbeuter/actu.db -u /home/neodarz/.newsbeuter/urls_actu -C /home/neodarz/.newsbeuter/actu_conf"
+alias i3lock="i3lock-fancy"
+alias weatherM="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.9955,0.1939"
+alias weatherC="weather -k 0aebbf2d72f2b78f797b650a76c88401 -c -z 47.1778,-1.3416"
+alias vpn="sh /home/neodarz/Apps/ipsec-vpn/vpn"
+alias cal="ikhal"
+alias cals="vdirsyncer sync"
+alias mm="offlineimap && mutt"
#█▓▒░ dumb tmux trix
alias tsad="printf '\033k┐(T_T)┌\033\\'"
@@ -159,3 +166,11 @@ function md() {
function short() {
curl -F"shorten=$*" https://0x0.st
}
+
+if ! pgrep -u "$USER" ssh-agent > /dev/null; then
+ ssh-agent > ~/.ssh-agent-thing
+fi
+if [[ "$SSH_AGENT_PID" == "" ]]; then
+ eval "$(<~/.ssh-agent-thing)"
+fi
+
diff --git a/zsh/.zsh/banner.zsh b/zsh/.zsh/banner.zsh_
index 9c2903b..9c2903b 100755
--- a/zsh/.zsh/banner.zsh
+++ b/zsh/.zsh/banner.zsh_
diff --git a/zsh/.zsh/keychain.zsh b/zsh/.zsh/keychain.zsh
index 630ee9b..a4fe935 100755
--- a/zsh/.zsh/keychain.zsh
+++ b/zsh/.zsh/keychain.zsh
@@ -15,7 +15,7 @@
# ░░░░░░░░░░
#
#█▓▒░ ssh keys
-export SSH_KEY_PATH="~/.ssh/id_rsa"
+#export SSH_KEY_PATH="~/.ssh/id_rsa"
#█▓▒░ funtoo keychain
-eval `keychain -q --eval ~/.ssh/id_rsa_mail`
+#eval `keychain -q --eval ~/.ssh/id_rsa_mail`