added lsd to installer
This commit is contained in:
parent
07e15e856c
commit
94a2e0b6f4
4
setup.sh
4
setup.sh
|
@ -4,16 +4,18 @@ cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig .
|
||||||
|
|
||||||
if [ $(id -u) -ne 0 ]
|
if [ $(id -u) -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "run me as root to copy cdbm to the system"
|
echo "run me as root to copy cdbm & lsd to the system"
|
||||||
else
|
else
|
||||||
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi
|
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi
|
||||||
OS=`uname`
|
OS=`uname`
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
Darwin)
|
Darwin)
|
||||||
cp Settings/cdbm/Darwin/cdbm /usr/local/bin
|
cp Settings/cdbm/Darwin/cdbm /usr/local/bin
|
||||||
|
cp Settings/lsd/Darwin/lsd /usr/local/bin
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
cp Settings/cdbm/Linux/cdbm /usr/local/bin
|
cp Settings/cdbm/Linux/cdbm /usr/local/bin
|
||||||
|
cp Settings/lsd/Linux/lsd /usr/local/bin
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
$OS is not supported
|
$OS is not supported
|
||||||
|
|
Loading…
Reference in New Issue