From 6b8a604fd7ddd991f2914aaba33cc38cc5ac136f Mon Sep 17 00:00:00 2001 From: Jisu Kim Date: Wed, 30 Dec 2020 19:31:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A7=A5=20=ED=99=98=EA=B2=BD=20=EC=97=85?= =?UTF-8?q?=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- darwin/alacritty/alacritty.yml | 2 +- darwin/bin/ufetch | 8 ++++---- zshrc | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/darwin/alacritty/alacritty.yml b/darwin/alacritty/alacritty.yml index da397f6..d776075 100644 --- a/darwin/alacritty/alacritty.yml +++ b/darwin/alacritty/alacritty.yml @@ -49,7 +49,7 @@ window: # Values for `decorations` (macOS only): # - transparent: Title bar, transparent background and title bar buttons # - buttonless: Title bar, transparent background, but no title bar buttons - #decorations: full + decorations: full # Startup Mode (changes require restart) # diff --git a/darwin/bin/ufetch b/darwin/bin/ufetch index 00cde0c..c8e7f77 100755 --- a/darwin/bin/ufetch +++ b/darwin/bin/ufetch @@ -16,7 +16,7 @@ shell="$(basename "$SHELL")" if [ -x "$(command -v pkgin)" ]; then packages="$(pkgin list | wc -l)" elif [ -x "$(command -v brew)" ]; then - brew_packages="$(brew list | wc -l)" + brew_packages="$(brew list --formula | wc -l)" cask_packages="$(brew cask list 2> /dev/null | wc -l)" packages="$(( ${brew_packages} + ${cask_packages} ))" elif [ -x "$(command -v port)" ]; then @@ -57,10 +57,10 @@ if [ -x "$(command -v tput)" ]; then fi # you can change these -lc="${reset}${bold}${cyan}" # labels -nc="${reset}${bold}${cyan}" # user and hostname +lc="${reset}${bold}${magenta}" # labels +nc="${reset}${bold}${magenta}" # user and hostname ic="${reset}" # info -c0="${reset}${cyan}" # first color +c0="${reset}${magenta}" # first color ## OUTPUT diff --git a/zshrc b/zshrc index 41076d6..df490e9 100644 --- a/zshrc +++ b/zshrc @@ -106,7 +106,9 @@ source $ZSH/oh-my-zsh.sh export GPG_TTY=$(tty) alias vim=nvim -alias open=xdg-open +if [[ `uname` != "Darwin" ]]; then + alias open=xdg-open +fi ufetch [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh