From 429a33b00cfdb6c1a165662a4813c9acfebec815 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 21 May 2016 21:23:46 +0200 Subject: [PATCH] Rename bash folder to rc --- .config/bash/bashrc | 4 +- .config/bash/{profile.d => rc}/aliases | 0 .config/bash/{profile.d => rc}/completion | 0 .config/bash/{profile.d => rc}/exports | 0 .config/bash/{profile.d => rc}/extra | 0 .config/bash/{profile.d => rc}/functions | 0 .config/bash/{profile.d => rc}/fzf.bash | 0 .config/bash/{profile.d => rc}/fzf.functions | 0 .../{profile.d => rc}/git-completion.bash | 0 .config/bash/{profile.d => rc}/git-prompt.sh | 0 .config/bash/{profile.d => rc}/options | 0 .config/bash/{profile.d => rc}/paths | 0 .config/bash/{profile.d => rc}/prompt | 0 .config/bash/{profile.d => rc}/solarized | 46 +++++++++---------- 14 files changed, 25 insertions(+), 25 deletions(-) rename .config/bash/{profile.d => rc}/aliases (100%) rename .config/bash/{profile.d => rc}/completion (100%) rename .config/bash/{profile.d => rc}/exports (100%) rename .config/bash/{profile.d => rc}/extra (100%) rename .config/bash/{profile.d => rc}/functions (100%) rename .config/bash/{profile.d => rc}/fzf.bash (100%) rename .config/bash/{profile.d => rc}/fzf.functions (100%) rename .config/bash/{profile.d => rc}/git-completion.bash (100%) rename .config/bash/{profile.d => rc}/git-prompt.sh (100%) rename .config/bash/{profile.d => rc}/options (100%) rename .config/bash/{profile.d => rc}/paths (100%) rename .config/bash/{profile.d => rc}/prompt (100%) rename .config/bash/{profile.d => rc}/solarized (98%) diff --git a/.config/bash/bashrc b/.config/bash/bashrc index 5c2c08c..66122c7 100644 --- a/.config/bash/bashrc +++ b/.config/bash/bashrc @@ -22,9 +22,9 @@ echo Now running on $PLATFORM platform # Load settings -for file in ${HOME}/.config/bash/profile.d/*; do +for file in ${HOME}/.config/bash/rc/*; do [ -f "$file" ] && source "$file"; done; # Local/private settings -[ -f "${HOME}/.bashrc_local" ] && source "${HOME}/.bashrc_local" +[ -f "${HOME}/.config/bash/bashrc_local" ] && source "${HOME}/.config/bash/bashrc_local" diff --git a/.config/bash/profile.d/aliases b/.config/bash/rc/aliases similarity index 100% rename from .config/bash/profile.d/aliases rename to .config/bash/rc/aliases diff --git a/.config/bash/profile.d/completion b/.config/bash/rc/completion similarity index 100% rename from .config/bash/profile.d/completion rename to .config/bash/rc/completion diff --git a/.config/bash/profile.d/exports b/.config/bash/rc/exports similarity index 100% rename from .config/bash/profile.d/exports rename to .config/bash/rc/exports diff --git a/.config/bash/profile.d/extra b/.config/bash/rc/extra similarity index 100% rename from .config/bash/profile.d/extra rename to .config/bash/rc/extra diff --git a/.config/bash/profile.d/functions b/.config/bash/rc/functions similarity index 100% rename from .config/bash/profile.d/functions rename to .config/bash/rc/functions diff --git a/.config/bash/profile.d/fzf.bash b/.config/bash/rc/fzf.bash similarity index 100% rename from .config/bash/profile.d/fzf.bash rename to .config/bash/rc/fzf.bash diff --git a/.config/bash/profile.d/fzf.functions b/.config/bash/rc/fzf.functions similarity index 100% rename from .config/bash/profile.d/fzf.functions rename to .config/bash/rc/fzf.functions diff --git a/.config/bash/profile.d/git-completion.bash b/.config/bash/rc/git-completion.bash similarity index 100% rename from .config/bash/profile.d/git-completion.bash rename to .config/bash/rc/git-completion.bash diff --git a/.config/bash/profile.d/git-prompt.sh b/.config/bash/rc/git-prompt.sh similarity index 100% rename from .config/bash/profile.d/git-prompt.sh rename to .config/bash/rc/git-prompt.sh diff --git a/.config/bash/profile.d/options b/.config/bash/rc/options similarity index 100% rename from .config/bash/profile.d/options rename to .config/bash/rc/options diff --git a/.config/bash/profile.d/paths b/.config/bash/rc/paths similarity index 100% rename from .config/bash/profile.d/paths rename to .config/bash/rc/paths diff --git a/.config/bash/profile.d/prompt b/.config/bash/rc/prompt similarity index 100% rename from .config/bash/profile.d/prompt rename to .config/bash/rc/prompt diff --git a/.config/bash/profile.d/solarized b/.config/bash/rc/solarized similarity index 98% rename from .config/bash/profile.d/solarized rename to .config/bash/rc/solarized index e9ca994..3a9d3bb 100644 --- a/.config/bash/profile.d/solarized +++ b/.config/bash/rc/solarized @@ -1,23 +1,23 @@ -[ "$PLATFORM" == "Darwin" ] && return; - -echo -ne '\eP\e]10;#839496\a' # Foreground -> base0 -echo -ne '\eP\e]11;#002B36\a' # Background -> base03 - -echo -ne '\eP\e]12;#DC322F\a' # Cursor -> red - -echo -ne '\eP\e]4;0;#073642\a' # black -> Base02 -echo -ne '\eP\e]4;8;#002B36\a' # bold black -> Base03 -echo -ne '\eP\e]4;1;#DC322F\a' # red -> red -echo -ne '\eP\e]4;9;#CB4B16\a' # bold red -> orange -echo -ne '\eP\e]4;2;#859900\a' # green -> green -echo -ne '\eP\e]4;10;#586E75\a' # bold green -> base01 * -echo -ne '\eP\e]4;3;#B58900\a' # yellow -> yellow -echo -ne '\eP\e]4;11;#657B83\a' # bold yellow -> base00 * -echo -ne '\eP\e]4;4;#268BD2\a' # blue -> blue -echo -ne '\eP\e]4;12;#839496\a' # bold blue -> base0 * -echo -ne '\eP\e]4;5;#D33682\a' # magenta -> magenta -echo -ne '\eP\e]4;13;#6C71C4\a' # bold magenta -> violet -echo -ne '\eP\e]4;6;#2AA198\a' # cyan -> cyan -echo -ne '\eP\e]4;14;#93A1A1\a' # bold cyan -> base1 * -echo -ne '\eP\e]4;7;#EEE8D5\a' # white -> Base2 -echo -ne '\eP\e]4;15;#FDF6E3\a' # bold white -> Base3 +[ "$PLATFORM" == "Darwin" ] && return; + +echo -ne '\eP\e]10;#839496\a' # Foreground -> base0 +echo -ne '\eP\e]11;#002B36\a' # Background -> base03 + +echo -ne '\eP\e]12;#DC322F\a' # Cursor -> red + +echo -ne '\eP\e]4;0;#073642\a' # black -> Base02 +echo -ne '\eP\e]4;8;#002B36\a' # bold black -> Base03 +echo -ne '\eP\e]4;1;#DC322F\a' # red -> red +echo -ne '\eP\e]4;9;#CB4B16\a' # bold red -> orange +echo -ne '\eP\e]4;2;#859900\a' # green -> green +echo -ne '\eP\e]4;10;#586E75\a' # bold green -> base01 * +echo -ne '\eP\e]4;3;#B58900\a' # yellow -> yellow +echo -ne '\eP\e]4;11;#657B83\a' # bold yellow -> base00 * +echo -ne '\eP\e]4;4;#268BD2\a' # blue -> blue +echo -ne '\eP\e]4;12;#839496\a' # bold blue -> base0 * +echo -ne '\eP\e]4;5;#D33682\a' # magenta -> magenta +echo -ne '\eP\e]4;13;#6C71C4\a' # bold magenta -> violet +echo -ne '\eP\e]4;6;#2AA198\a' # cyan -> cyan +echo -ne '\eP\e]4;14;#93A1A1\a' # bold cyan -> base1 * +echo -ne '\eP\e]4;7;#EEE8D5\a' # white -> Base2 +echo -ne '\eP\e]4;15;#FDF6E3\a' # bold white -> Base3 -- 2.43.0