Skip to content

Commit 48ab73b

Browse files
committed
Added config file for EasyKey.bash quick locations script
1 parent dea4146 commit 48ab73b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

EasyKey.bash/.ezk-bash-config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[locations]
2+
mavenhome=~/.m2
3+
workspace=~/workspace
4+
easykey=~/workspace/EasyKey.shellmenu

EasyKey.bash/ezk-locations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ unset locations
55
script_dir="$1"
66
source "${script_dir}/shellmenu.sh"
77

8-
configfilename=.ezk-git-loca-conf
8+
configfilename=.ezk-bash-config
99

1010
function toDirAndTerminate () {
1111
vars="$*" # all splitted words back to one var
@@ -16,7 +16,7 @@ function toDirAndTerminate () {
1616

1717
# Reads the config into global array "workspaces"
1818
# The config needs to have that section [workspaces]
19-
initConfig "${script_dir}/EasyKey.git/${configfilename}"
19+
initConfig "${script_dir}/EasyKey.bash/${configfilename}"
2020

2121
echo "${locations[@]}"
2222

0 commit comments

Comments
 (0)