diff options
author | Justine Smithies <justine@smithies.me.uk> | 2025-08-02 20:13:03 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2025-08-02 20:13:03 +0100 |
commit | c9f60ca3e2b5fcc2597623585989ff99e32bea95 (patch) | |
tree | e6421dc620a868ddea39cab60e5b847d31b07750 | |
parent | f8cee8f88d8d60fedb66b9c70f5caaadba7eecae (diff) |
Fix top alias and use new _exists helper for bat
-rw-r--r-- | .kshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,11 +24,11 @@ HISTCONTROL=ignoredups:ignorespace # Some useful aliases # If btop is installed then alias top to btop -_exists && alias top="/usr/local/bin/btop" +_exists btop && alias top="/usr/local/bin/btop" alias ls='ls --color=auto -hv' alias config='/usr/local/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' -command -v bat > /dev/null && alias cat='bat --paging=never' +_exists bat && alias cat='bat' alias wanip='dig @resolver4.opendns.com myip.opendns.com +short' # Alias to stop foot terminal confusing ssh |