commit 6af038a490f23b98b85b8ad0995626afc2789ba5
parent 3198cc60da279caf32e282d79338a41d1a7719cc
Author: Mark Feller <mark@mfeller.io>
Date: Thu, 16 Dec 2021 18:19:43 -0700
improvements to zsh config and aliases
Diffstat:
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/dots/.config/aliasrc b/dots/.config/aliasrc
@@ -9,8 +9,6 @@ alias rm="rm -iv"
alias q="exit"
alias vi=vim
-alias doas="sudo"
-
alias weather="curl wttr.in/\~Boulder+Colorado"
# Youtube
@@ -18,4 +16,5 @@ alias yt="youtube-dl"
alias yta='youtube-dl --extract-audio --audio-quality 0 --audio-format flac --output "%(title)s.%(ext)s"'
alias ytad='youtube-dl --extract-audio --audio-quality 0 --audio-format flac --output "%(title)s [%(upload_date)s].%(ext)s"'
-alias fp='pash c $(pash l | fzf)'
+alias fp='pash copy $(pash list | fzf)'
+alias fps='pash show $(pash list | fzf)'
diff --git a/dots/.config/zsh/.zprofile b/dots/.config/zsh/.zprofile
@@ -32,7 +32,7 @@ export LS_COLORS="rs=0:di=36;36:ln=36;51:mh=00:pi=40;36;11:so=36;13:do=36;5:bd=4
export LC_ALL=C
-export PASH_CLIP=xclip
+export PASH_CLIP='xclip -i -selection clipboard'
export PASH_TIMEOUT=off
export GNUPGHOME=$HOME/.local/share/gnupg
diff --git a/dots/.config/zsh/.zshrc b/dots/.config/zsh/.zshrc
@@ -22,7 +22,7 @@ kube_prompt() {
[ -z "$ctx" ] || echo -n "%F{green}$ctx%f "
[ -z "$KUBENS" ] || echo -n "%F{blue}$KUBENS%f "
}
-PROMPT='%F{241}λ %2~%f $(kube_prompt)$(git_prompt)%B%F{241}»%b%f '
+PROMPT='%F{241}%2~%f $(kube_prompt)$(git_prompt)%B%F{241}$%b%f '
toggle_kube_promt() {
PROMPT='%F{241}λ %2~%f $(git_prompt)%B%F{241}»%b%f '