From a2ce34add857a3aaa86ee248f69ec1a5e137db0e Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Tue, 8 Oct 2024 15:29:54 +0900 Subject: [PATCH] feat: config zsh alias --- zsh/alias.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/alias.zsh b/zsh/alias.zsh index ac539ef..7f8d860 100644 --- a/zsh/alias.zsh +++ b/zsh/alias.zsh @@ -32,6 +32,9 @@ if [[ -f ~/.ssh/assh.yml ]]; then fi alias pstop='watch "ps aux | sort -nrk 3,3 | head -n 5"' -eval "$(gh copilot alias -- zsh)" +if command -v gh &> /dev/null +then + eval "$(gh copilot alias -- zsh)" +fi alias qs='open -a QSpace'