diff options
Diffstat (limited to 'user_scripts')
| -rwxr-xr-x | user_scripts/applications.sh | 32 | ||||
| -rw-r--r-- | user_scripts/emacs_install_config.sh | 43 |
2 files changed, 47 insertions, 28 deletions
diff --git a/user_scripts/applications.sh b/user_scripts/applications.sh index 86b89b6..b137b46 100755 --- a/user_scripts/applications.sh +++ b/user_scripts/applications.sh @@ -8,32 +8,6 @@ then echo "Must run as user. Exiting." exit fi - - #### Emacs and Dependencies -sudo pkg install -y emacs # everything is ultimately to run or assist Emacs -sudo pkg install -y ImageMagick7 # image processing -sudo pkg install -y aspell # spell checker -sudo pkg install -y en-aspell # english dictionary -sudo pkg install -y fd-find # faster find alternative -sudo pkg install -y ffmpegthumbnailer # video thumbnailer -sudo pkg install -y gnutls # gnu transport layer security -sudo pkg install -y gtar # gnu version of tar -sudo pkg install -y isync # manage local copy of remote IMAP folders -sudo pkg install -y mediainfo # tag information for video and audio files -sudo pkg install -y mpv # video player -sudo pkg install -y mu # mail searching front-end (used with isync) -sudo pkg install -y multimarkdown # markdown processor -sudo pkg install -y pkgconf # configure compiler and linker flags -sudo pkg install -y png # manipulate png files -sudo pkg install -y poppler # pdf rendering library -sudo pkg install -y poppler-glib # glib bindings for poppler -sudo pkg install -y sdcv # utility to work with dictionaries in StarDict's format - - #### Miscellaneous -sudo pkg install -y calibre # ebook management application -sudo pkg install -y neofetch # system info script -sudo pkg install -y py311-ranger # file manager with VI key bindings - #### Developer Tools sudo pkg install -y autoconf # generate gnu configure scripts sudo pkg install -y autotools # gnu autotools meta-port @@ -59,13 +33,15 @@ sudo pkg install -y gnupg # free pgp implementation sudo pkg install -y gpgme # library to make gnupg easier #### Utilities -sudo pkg install -y ncdu # disk space analysis and cleanup -sudo pkg install -y htop # process analysis sudo pkg install -y gotop # process and system analysis +sudo pkg install -y htop # process analysis +sudo pkg install -y ncdu # disk space analysis and cleanup +sudo pkg install -y neofetch # system info script sudo pkg install -y nsxiv # image viewer sudo pkg install -y py311-ranger # terminal file manager #### Desktop Applications +sudo pkg install -y calibre # ebook management application sudo pkg install -y firefox # web browser sudo pkg install -y zathura # lightweight pdf viewer sudo pkg install -y zathura-cb # zathura comic book plugin diff --git a/user_scripts/emacs_install_config.sh b/user_scripts/emacs_install_config.sh new file mode 100644 index 0000000..9e2abf1 --- /dev/null +++ b/user_scripts/emacs_install_config.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Craig Jennings <c@cjennings.net> +# Emacs Install and Config + +# ensure user +if [ $(id -u) -eq 0 ] +then + echo "Must run as user. Exiting." + exit +fi + +# Install emacs and all dependencies +sudo pkg install -y emacs # everything is ultimately to run or assist Emacs +sudo pkg install -y ImageMagick7 # image processing +sudo pkg install -y aspell # spell checker +sudo pkg install -y en-aspell # english dictionary +sudo pkg install -y fd-find # faster find alternative +sudo pkg install -y ffmpegthumbnailer # video thumbnailer +sudo pkg install -y gnutls # gnu transport layer security +sudo pkg install -y gtar # gnu version of tar +sudo pkg install -y isync # manage local copy of remote IMAP folders +sudo pkg install -y mediainfo # tag information for video and audio files +sudo pkg install -y mpv # video player +sudo pkg install -y mu # mail searching front-end (used with isync) +sudo pkg install -y multimarkdown # markdown processor +sudo pkg install -y pkgconf # configure compiler and linker flags +sudo pkg install -y png # manipulate png files +sudo pkg install -y poppler # pdf rendering library +sudo pkg install -y poppler-glib # glib bindings for poppler +sudo pkg install -y sdcv # utility to work with dictionaries in StarDict's format +pkg install -y coreutils # emacs requires FSF's version of ls + +# install via https +git clone --depth 1 git@cjennings.net:dotemacs.git ~/.emacs.d/ + +# change remote to git url +cd ~/.emacs.d/ +git remote remove origin +git remote add origin git@cjennings.net:dotemacs.git + +# add the emacsd rc.d service +sudo cp ../assets/emacsd /usr/local/etc/rc.d/emacsd +sysrc emacsd_enable="YES" |
