Skip to content

Commit b45700e

Browse files
authored
fix: Move global Eask-file config to home (#194)
* fix: Move global Eask-file config to home * fix * rev
1 parent 0faeca4 commit b45700e

File tree

17 files changed

+20
-61
lines changed

17 files changed

+20
-61
lines changed

lisp/_prepare.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ This uses function `locate-dominating-file' to look up directory tree."
10281028
;; for the sandbox.
10291029
(eask-with-verbosity 'debug
10301030
(eask-ignore-errors ; Again, without Eask-file needed!
1031-
(if (eask-file-try-load "../")
1031+
(if (eask-file-try-load "./")
10321032
(eask-msg "✓ Loading global Eask file in %s... done!" eask-file)
10331033
(eask-msg "✗ Loading global Eask file... missing!")))
10341034
(eask-msg ""))

lisp/core/status.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
(defun eask--environment-name ()
2727
"Get the working environment name."
28-
(cond ((eask-global-p) "global (~/.eask/)")
28+
(cond ((eask-global-p) "global (~/)")
2929
((eask-config-p) (format "configuration (%s)" user-emacs-directory))
3030
(t "development (./)")))
3131

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function el_script(name) {
185185
*/
186186
function _environment_name (argv) {
187187
if (argv.global)
188-
return 'global (~/.eask/)';
188+
return 'global (~/)';
189189
else if (argv.config)
190190
return 'configuration (~/.emacs.d/)';
191191
else

test/commands/config/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
set -e
2929

3030
echo "Copy test configuration"
31-
./test/fixtures/mini.emacs.d/scripts/copy_config.sh
31+
./test/fixtures/home/scripts/setup.sh
3232

3333
echo "Testing config (~/.emacs.d/) commands..."
3434
eask archives -c

test/commands/global/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
set -e
2929

3030
echo "Copy test configuration"
31-
./test/fixtures/mini.eask/scripts/copy_eask.sh
31+
./test/fixtures/home/scripts/setup.sh
3232

33-
echo "Testing global (~/.eask/) commands..."
33+
echo "Testing global (~/) commands..."
3434
eask archives -g
3535

3636
eask install -g spinner ivy beacon company fuzzy
File renamed without changes.

0 commit comments

Comments
 (0)