# HG changeset patch # User Zeger Van de Vannet # Date 1683713576 -7200 # Node ID 6261642f53d7b37eec79c8ae4731acd458affb2d # Parent 4357ec45cd55a89b4b0f19700eec794a99c51b20 feat: add ps abbreviation diff -r 4357ec45cd55 -r 6261642f53d7 dot_zshrc --- a/dot_zshrc Mon May 08 08:24:43 2023 +0200 +++ b/dot_zshrc Wed May 10 12:12:56 2023 +0200 @@ -111,7 +111,6 @@ HISTSIZE=3000 SAVEHIST=3000 -HISTFILE=~/.zsh_history # Completion setopt complete_in_word @@ -256,6 +255,7 @@ "Iw" "| wc" "Ix" "| xargs" "Ic" "| clip" + "psa" "ps -ax -o pid,pgid,user,start_time,time,command | rg" ) magic-abbrev-expand() { @@ -295,7 +295,9 @@ export PS_FORMAT='pid,pgid,state,start_time,%cpu,command' -export GPG_TTY=$(tty) +if [ -z "$GPG_TTY" ]; then + export GPG_TTY=$(tty) +fi export ZK_NOTEBOOK_DIR=$HOME/notebook