diff --git a/Config/.zshrc b/Config/.zshrc index 05a6d23..22e799f 100644 --- a/Config/.zshrc +++ b/Config/.zshrc @@ -14,7 +14,10 @@ HISTSIZE=1000 SAVEHIST=1000 HISTFILE=~/.zsh_history -. $HOME/.asdf/asdf.sh +if [ "$(uname)" != "Darwin" ] +then + . $HOME/.asdf/asdf.sh +fi # append completions to fpath fpath=(${ASDF_DIR}/completions $fpath) @@ -28,7 +31,12 @@ zstyle ':completion:*' completer _expand _complete _correct _approximate zstyle ':completion:*' format 'Completing %d' zstyle ':completion:*' group-name '' zstyle ':completion:*' menu select=2 -eval "$(dircolors -b)" + +if [ "$(uname)" != "Darwin" ] +then + eval "$(dircolors -b)" +fi + zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-colors '' zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s diff --git a/Scripts/Mac.command b/Scripts/Mac.command index 8441a36..870ef90 100644 --- a/Scripts/Mac.command +++ b/Scripts/Mac.command @@ -1 +1,3 @@ #!/usr/bin/env zsh + +touch ~/.hushlogin diff --git a/Scripts/Ubuntu.sh b/Scripts/Ubuntu.sh index 1e9c751..53fecbe 100644 --- a/Scripts/Ubuntu.sh +++ b/Scripts/Ubuntu.sh @@ -1,9 +1,11 @@ #!/usr/bin/env sh -export DEBIAN_FRONTEND=noninteractive +touch ~/.hushlogin # Update +export DEBIAN_FRONTEND=noninteractive + sudo apt update && sudo apt upgrade -y # Dependencies