diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-03 11:56:39 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-03 11:57:08 +0200 |
commit | e225ca06f9af838b1d7ba138c43f51c193c1d459 (patch) | |
tree | 49abeaba2ece29689198f7423968dbc69f6c82e0 /config | |
parent | 7827809b3213e09bb0f2b802f887de1734e99926 (diff) |
edited fzps alias
Diffstat (limited to 'config')
-rw-r--r-- | config/essentials/zsh/aliases.zsh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/config/essentials/zsh/aliases.zsh b/config/essentials/zsh/aliases.zsh index e1c08b1..c75bb63 100644 --- a/config/essentials/zsh/aliases.zsh +++ b/config/essentials/zsh/aliases.zsh @@ -215,12 +215,7 @@ alias go/s='go /srv' alias ogo/='ogo /' alias ogo/s='ogo /srv' -alias fzps='ps aux | tail +2 | fzf --bind \ -"1:execute(echo -n {} | awk '\''{print \$1}'\'' | xclip -sel c -r),\ -2:execute(echo -n {} | awk '\''{print \$2}'\'' | xclip -sel c -r),\ -3:execute(echo -n {} | awk '\''{print \$7}'\'' | xclip -sel c -r),\ -4:execute(echo -n {} | awk '\''{print \$9}'\'' | xclip -sel c -r),\ -5:execute(echo -n {} | tr -s '\'' '\'' | cut -f 11- -d '\'' '\'' | xclip -sel c -r)"' +alias fzps='ps aux | tail +2 | fzf | tee /dev/stderr | awk '\''{print $2}'\'' | clipp' alias asf='alias | fzf' alias fzh="tac $HISTFILE | fzf | tee /dev/stderr | clipp" alias pff='find ${PASSWORD_STORE_DIR:=$HOME/src/password-store/} -name "*.gpg" | sed -e "s@$PASSWORD_STORE_DIR/@@" -e '\''s/\.gpg$//'\'' | fzf | xargs pass show -c' |