emacs-on-guix 401 Bytes
Newer Older
Todor Kondic's avatar
Todor Kondic committed
1 2 3 4 5 6
#!/bin/sh

# Clear environment, source the profile containing the new shinyscreen
# and run it.

env -i HOME="$HOME"\
Todor Kondic's avatar
...  
Todor Kondic committed
7
       USER="$USER"\
Todor Kondic's avatar
...  
Todor Kondic committed
8
       DISPLAY="$DISPLAY"\
Todor Kondic's avatar
...  
Todor Kondic committed
9 10
       TERM="$TERM"\
       PATH=/usr/local/sbin/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin\
11 12
    bash -c "source  '$HOME'/.man-guix-prof/etc/profile
             '$HOME'/.man-guix-prof/bin/emacs"