mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
Fix #1: Better to stick to a single common shell
Referred a couple other version managers. The advantage is not having to maintain the scripts for other shells (bash comes by default everywhere I've seen).
This commit is contained in:
parent
c176f71a4a
commit
237a5ab59e
4
asdf.sh
4
asdf.sh
@ -1,6 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
#TODO check for ${BASH_SOURCE[0]} or use $0
|
||||
#!/usr/bin/env bash
|
||||
|
||||
current_script_path=${BASH_SOURCE[0]}
|
||||
asdf_dir=$(cd $(dirname $current_script_path); echo $(pwd))
|
||||
|
2
bin/asdf
2
bin/asdf
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh -l
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source $(dirname $(dirname $0))/lib/utils.sh
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source $(dirname $(dirname $(dirname $0)))/lib/utils.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user