From 763f60c45d2fef0d25b37e6317c6eb4fce657db5 Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 28 Feb 2023 13:17:44 -0800 Subject: [PATCH 1/3] Fix macos zsh config --- Config/.zshrc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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 From faf89b28c5aa10397d3678ddbfceae5b40d857fe Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 28 Feb 2023 13:17:48 -0800 Subject: [PATCH 2/3] Update Mac.command --- Scripts/Mac.command | 2 ++ 1 file changed, 2 insertions(+) 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 From 78fbf455e3f6ca59191eb11b81f88076c0b3357b Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 28 Feb 2023 13:17:50 -0800 Subject: [PATCH 3/3] Update Ubuntu.sh --- Scripts/Ubuntu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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