replaced isLinux and isMac references to align with lib for simplicity
70b5f04d
Hari Sekhon
committed
17 changed files
aliases.sh
/.bash.d/aliases.sh-2+2
/.bash.d/aliases.sh
Add comment 123 alias nohist='unset HISTFILE'
Add comment 124
Add comment 125 export LS_OPTIONS='-F'
Add comment 126 Minus  if isMac; then
Add comment 126 Plus  if is_mac; then
Add comment 127 export CLICOLOR=1 # equiv to using -G switch when calling
Add comment 128 else
Add comment 129 export LS_OPTIONS="$LS_OPTIONS --color=auto"
Add comment 245
Add comment 246 # using brew version on Mac
Add comment 247 pmd_opts="-R rulesets/java/quickstart.xml -f text"
Add comment 248 Minus  if isMac; then
Add comment 248 Plus  if is_mac; then
Add comment 249 # yes evaluate $pmd_opts here
Add comment 250 # shellcheck disable=SC2139
Add comment 251 pmd="pmd $pmd_opts"
docker.sh
/.bash.d/docker.sh-1+1
/.bash.d/docker.sh
Add comment 25 # shellcheck disable=SC1090
Add comment 26 [ -f ~/.docker_vars ] && . ~/.docker_vars
Add comment 27
Add comment 28 Minus  #if isLinux && type podman &>/dev/null; then
Add comment 28 Plus  #if is_linux && type -P podman &>/dev/null; then
Add comment 29 # alias docker="podman"
Add comment 30 #fi
Add comment 31
env.sh
/.bash.d/env.sh-2+2
/.bash.d/env.sh
Add comment 70
Add comment 71 # ============================================================================ #
Add comment 72
Add comment 73 Minus  if isMac; then
Add comment 73 Plus  if is_mac; then
Add comment 74 #BROWSER=open
Add comment 75 unset BROWSER
Add comment 76 elif type -P google-chrome &>/dev/null; then
Add comment 90 # don't export BROWSER on Mac, trigger python bug:
Add comment 91 # AttributeError: 'MacOSXOSAScript' object has no attribute 'basename'
Add comment 92 # from python's webbrowser library
Add comment 93 Minus  if ! isMac; then
Add comment 93 Plus  if ! is_mac; then
Add comment 94 export BROWSER
Add comment 95 fi
Add comment 96
functions.sh
/.bash.d/functions.sh
/.bash.d/functions.sh
git.sh
/.bash.d/git.sh
/.bash.d/git.sh
golang.sh
/.bash.d/golang.sh
/.bash.d/golang.sh
java.sh
/.bash.d/java.sh
/.bash.d/java.sh
linux.sh
/.bash.d/linux.sh
/.bash.d/linux.sh
mac.sh
/.bash.d/mac.sh
/.bash.d/mac.sh
network.sh
/.bash.d/network.sh
/.bash.d/network.sh
os_detection.sh
/.bash.d/os_detection.sh
/.bash.d/os_detection.sh
paths.sh
/.bash.d/paths.sh
/.bash.d/paths.sh
prompt.sh
/.bash.d/prompt.sh
/.bash.d/prompt.sh
python.sh
/.bash.d/python.sh
/.bash.d/python.sh
ruby.sh
/.bash.d/ruby.sh
/.bash.d/ruby.sh
svn.sh
/.bash.d/svn.sh
/.bash.d/svn.sh
.bash_profile
/.bash_profile
/.bash_profile