Merge remote-tracking branch 'upstream/master'
* upstream/master: Switch to output parse of `--version` to determine ls flavor Update installation repo URL
This commit is contained in:
@@ -27,7 +27,7 @@ features.
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
|
||||
git clone https://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
|
||||
~/.scm_breeze/install.sh
|
||||
source ~/.bashrc # or source "${ZDOTDIR:-$HOME}/.zshrc"
|
||||
```
|
||||
|
||||
@@ -97,7 +97,7 @@ fi
|
||||
if [ "$shell_ls_aliases_enabled" = "true" ] && builtin command -v ruby > /dev/null 2>&1; then
|
||||
# BSD ls is different to Linux (GNU) ls
|
||||
# Test for BSD ls
|
||||
if ! ls --color=auto > /dev/null 2>&1; then
|
||||
if ! (ls --version 2>/dev/null || echo "BSD") | grep GNU >/dev/null 2>&1; then
|
||||
# ls is BSD
|
||||
_ls_bsd="BSD"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user