User Tools

Site Tools


technical:programming:env

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technical:programming:env [2022/08/23 08:21] jctechnical:programming:env [2023/03/09 07:02] (current) jc
Line 54: Line 54:
     tmux -S $SERVER  rename-window -t $SESSION emacs     tmux -S $SERVER  rename-window -t $SESSION emacs
     tmux -S $SERVER send-keys -t $SESSION 'emacsclient -nw --socket-name /home/jc/.emacs.d/server/server' C-m     tmux -S $SERVER send-keys -t $SESSION 'emacsclient -nw --socket-name /home/jc/.emacs.d/server/server' C-m
-    # doom window+   # doom window
     tmux -S $SERVER new-window -t $SESSION     tmux -S $SERVER new-window -t $SESSION
     tmux -S $SERVER rename-window -t $SESSION doom     tmux -S $SERVER rename-window -t $SESSION doom
Line 79: Line 79:
 exec tmux_new exec tmux_new
 ``` ```
 +Now simply source or copy the function to a file and execute from the command line.
 +
 </markdown> </markdown>
 ====== Emacs ====== ====== Emacs ======
 ===== Doom ===== ===== Doom =====
 * [[https://github.com/doomemacs/doomemacs|Github: Doom Emacs]] * [[https://github.com/doomemacs/doomemacs|Github: Doom Emacs]]
 +
 +I frequently run into problems with Doom Emacs upgrade failures. Most issues can be resolved by simply removing the offending package's local repository and build cache.
 +<markdown>
 +``` bash
 +# Remove the package's repository
 +rm -rf ~/.emacs.d/.local/straight/repos/<package-name>
 +# Remove the package's build cache. emacs 28.2 is installed, and the build version number my vary
 +rm -rf ~/.emacs.d/.local/traight/build-28.2/<package-name>
 +# Run then Doom Emacs upgrade command
 +doom upgrade
 +```
 +</markdown>
 ===== Elisp ===== ===== Elisp =====
 * [[https://www.emacswiki.org/emacs/LearnEmacsLisp|Emacs Wiki: Elisp]] * [[https://www.emacswiki.org/emacs/LearnEmacsLisp|Emacs Wiki: Elisp]]
 ====== Window Manager ====== ====== Window Manager ======
 ===== Sway ===== ===== Sway =====
-Start sway with lightdm or from a shell.+Start sway from lightdm or a shell.
 ==== Install  ==== ==== Install  ====
 **Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code> **Dependencies:** <code bash> sudo pacman -Su seatd wlroots xcb-util-errors sway</code>
Line 135: Line 149:
 fi  fi 
 </code> </code>
 +
technical/programming/env.1661257311.txt.gz · Last modified: 2022/08/23 08:21 by jc