diff options
| author | Steph Enders <steph@senders.io> | 2023-03-30 11:04:43 -0400 | 
|---|---|---|
| committer | Steph Enders <steph@senders.io> | 2023-03-30 11:04:43 -0400 | 
| commit | 001ac0517a6956899160bd103e45f4f70cffad4c (patch) | |
| tree | 2d44f19c3f14ac6e7ce1fab82258eb4150553752 /em | |
Setup repo and define em script
Create bin stow repo and emacsclient helper script
Diffstat (limited to 'em')
| -rwxr-xr-x | em | 16 | 
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# Run emacs as a GUI - creating a new frame + +## default file that can be configured as needed +DEFAULT_EMACS_FILE=~/.emacs.d/.default_file + +if [ $# -eq 0 ]; then +    if [ -L $DEFAULT_EMACS_FILE ]; then +	emacsclient -n -c $DEFAULT_EMACS_FILE +    else +	emacsclient -n -c +    fi +else +  emacsclient -n $@ +fi  |