Skip to content

Commit

Permalink
update develop to start emacs according to OS.
Browse files Browse the repository at this point in the history
  • Loading branch information
hughjfchen committed Oct 3, 2022
1 parent 7f8d686 commit 1eb9bd0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; emacs -nw"
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; [[ "$(uname -s)" == "Darwin" ]] && /Applications/Emacs.app/Contents/MacOS/Emacs.sh || emacs -nw"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; emacs -nw"
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; [[ "$(uname -s)" == "Darwin" ]] && /Applications/Emacs.app/Contents/MacOS/Emacs.sh || emacs -nw"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; emacs -nw"
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; [[ "$(uname -s)" == "Darwin" ]] && /Applications/Emacs.app/Contents/MacOS/Emacs.sh || emacs -nw"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; emacs -nw"
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; [[ "$(uname -s)" == "Darwin" ]] && /Applications/Emacs.app/Contents/MacOS/Emacs.sh || emacs -nw"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; emacs -nw"
nix-shell --run "[[ -f ~/.doom.d/config.el ]] && sed -i '/enable-local-variables/d' ~/.doom.d/config.el && echo '(setq-default enable-local-variables t)' >> ~/.doom.d/config.el ; [[ -x ~/.emacs.d/bin/doom ]] && ~/.emacs.d/bin/doom env ; [[ "$(uname -s)" == "Darwin" ]] && /Applications/Emacs.app/Contents/MacOS/Emacs.sh || emacs -nw"

0 comments on commit 1eb9bd0

Please sign in to comment.