Explorar el Código

Removed redundant function.

This was primarily for when I had an overly-complicated
way of storing my music since mpd ran as root.

I have since switched to running mpd as my current user
and all the music files are stored in my home directory.
Thomas Flucke hace 7 años
padre
commit
a6cc6e08a5
Se han modificado 2 ficheros con 9 adiciones y 12 borrados
  1. 2 10
      .bashrc
  2. 7 2
      .emacs.d/init.el

+ 2 - 10
.bashrc

@@ -75,18 +75,10 @@ $BLD$([ $? -ne 0 ] && echo '\[$FRED')(\$?)$RS \$ "
 # Mounts or unmounts intelligently.  Useful for keyboard bindings
 amount () {
     if mount | grep -q "/dev/$1"; then
-	udevil umount -l "/dev/$1"
+	    udevil umount -l "/dev/$1"
     else
-	udevil mount "/dev/$1"
+	    udevil mount "/dev/$1"
     fi	
-} 
-
-newMusic() {
-    for x in /tmp/*.mp3; do
-        sudo chown media "$x"
-	sudo -u media mv -v "$x" /media/music
-    done
-    ecex mpc update
 }
 
 mysqlpermissions()

+ 7 - 2
.emacs.d/init.el

@@ -88,6 +88,10 @@ If point was already at that position, move point to beginning of line."
 ;; Also seems to ignore most properties. (e.g. overline, underline,
 ;; strike-though, etc.)  Maybe it's an xterm problem?
 (use-package color-theme
+  :init
+  ;; TODO: Fixes error about missing directory.  Don't know why.
+  ;(unless (file-exists-p "~/.emacs.d/elpa/color-theme-20070910.1007/themes")
+  ;  (make-directory "~/.emacs.d/elpa/color-theme-20070910.1007/themes"))
   :config
   (color-theme-initialize)
   (load-theme 'Thomas-Experiement t))
@@ -232,6 +236,9 @@ an opening tag that is not followed by a matching closing tag."
 (use-package flycheck-rust
   :after rust-mode)
 
+;; ----------- Go Mode -------------
+(use-package go-mode)
+
 ;; ----------- i3 Support ----------
 (use-package i3wm
   :disabled
@@ -387,5 +394,3 @@ an opening tag that is not followed by a matching closing tag."
              lpr-region)
   :config
   (pr-update-menus t))
-
-