From 429ffc1cbcd1a14f7ec0241a2e898d339eb634b6 Mon Sep 17 00:00:00 2001 From: Kreyren Date: Wed, 31 Jul 2019 11:13:08 +0200 Subject: [PATCH] oh-my-bash.sh : Fix for #70 #59 (#71) * oh-my-bash.sh : Fix for #70 * Future proofing * Fixed symlink for agnoster-bash.theme.sh * Reaction on https://github.com/ohmybash/oh-my-bash/pull/71#discussion_r307617303 --- oh-my-bash.sh | 2 +- themes/agnoster/agnoster-bash.theme.sh | 1 - themes/agnoster/{agnoster.base.sh => agnoster.theme.sh} | 0 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 themes/agnoster/agnoster-bash.theme.sh rename themes/agnoster/{agnoster.base.sh => agnoster.theme.sh} (100%) diff --git a/oh-my-bash.sh b/oh-my-bash.sh index 97f3b6b..9e3d77c 100644 --- a/oh-my-bash.sh +++ b/oh-my-bash.sh @@ -159,5 +159,5 @@ if ! type_exists '__git_ps1' ; then fi # Adding Support for other OSes -[ -s /usr/bin/gloobus-preview ] && PREVIEW="gloobus-preview" || +[ -s /usr/bin/gloobus-preview ] && PREVIEW="gloobus-preview" || [ -s /Applications/Preview.app ] && PREVIEW="/Applications/Preview.app" || PREVIEW="less" diff --git a/themes/agnoster/agnoster-bash.theme.sh b/themes/agnoster/agnoster-bash.theme.sh deleted file mode 120000 index acfd55f..0000000 --- a/themes/agnoster/agnoster-bash.theme.sh +++ /dev/null @@ -1 +0,0 @@ -agnoster.bash \ No newline at end of file diff --git a/themes/agnoster/agnoster.base.sh b/themes/agnoster/agnoster.theme.sh similarity index 100% rename from themes/agnoster/agnoster.base.sh rename to themes/agnoster/agnoster.theme.sh