File tree Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ export LESSCHARSET=utf-8
20
20
BIN_PATH=" $HOME /bin:$HOME /local/bin" # Add ~/bin to PATH
21
21
CABAL_PATH=" $HOME /.cabal/bin" # Add cabal binaries to PATH
22
22
STACK_INSTALL_PATH=" $HOME /.local/bin/"
23
- KREW_PATH=" ${KREW_ROOT:- $HOME / .krew} /bin" # Add krew to PATH
24
- GOBIN=" $HOME /go/bin" # Adds binaries installed with `go install` to PATH
23
+ KREW_PATH=" ${KREW_ROOT:- $HOME / .krew} /bin" # Add krew to PATH
24
+ GOBIN=" $HOME /go/bin" # Adds binaries installed with `go install` to PATH
25
+ PATH=" ${ASDF_DATA_DIR:- $HOME / .asdf} /shims:$PATH " # Adds asdf shims to PATH
25
26
26
27
PATH=$CABAL_PATH :$STACK_INSTALL_PATH :$BIN_PATH :$KREW_PATH :$GOBIN :$PATH
27
28
PATH=" $HOME /.poetry/bin:$PATH "
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- # https://asdf-vm.com/guide/getting-started.html#_3-install-asdf
4
- source " $BREW_PREFIX /opt/asdf/libexec/asdf.sh"
5
-
6
- asdf-use () {
7
- plugin=$1
8
- shift
9
- version=$1
10
- shift
11
- command=$@
12
-
13
- (
14
- asdf shell $plugin $version
15
- eval $command
16
- )
17
- }
18
-
19
- asdf-each () {
20
- local plugin=$1
21
- shift
22
- local command=$@
23
-
24
- for version in $( asdf list $plugin ) ; do
25
- echo " Running '$command ' for $plugin version $version "
26
- asdf-use $plugin $version $command
27
- done
28
- }
29
-
30
3
direnv () { asdf exec direnv " $@ " ; }
31
4
32
5
if type zoxide > /dev/null; then
You can’t perform that action at this time.
0 commit comments