summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-05-12 23:14:10 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-05-12 23:14:10 -0400
commit41fc832d2a63081bde8e65f15c1803855b6e48f6 (patch)
tree1b50415040d3a5f4d306f3fa519562e275ab5588
parentf67a03ec2a3a266add0060ea74bfbc203f4f7b7f (diff)
Tidy up .bash_aliases, add ido-mode to .emacs
-rw-r--r--.bash_aliases27
-rw-r--r--.emacs3
2 files changed, 25 insertions, 5 deletions
diff --git a/.bash_aliases b/.bash_aliases
index d278bc1..269f36e 100644
--- a/.bash_aliases
+++ b/.bash_aliases
@@ -1,4 +1,10 @@
-# enable color support of ls and also add handy aliases
+#!/bin/bash
+# The above line probably should never be *used* in this file, but it
+# lets editors know that this is BASH syntax.
+
+######################################################################
+# Set up colors and settings for ls/dir/vdir #
+######################################################################
if [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls -1v --color=auto'
@@ -14,23 +20,34 @@ if [ -x /usr/bin/dircolors ]; then
else
alias ls='ls -1v'
alias dir='dir -v'
- aliad vdir='vdir -v'
+ alias vdir='vdir -v'
fi
-# some more ls aliases
+######################################################################
+# Set up the standard aliases for ls #
+######################################################################
alias ll='ls -l'
alias la='ls -a'
alias l='ls -CF'
+######################################################################
+# Some preferences for miscellaneous stuff #
+######################################################################
#alias rm='gvfs-trash'
alias ssh='ssh -XC'
alias sed='sed --follow-symlinks'
+alias tree='tree --charset utf8'
+######################################################################
+# Remember lat/long for redshift #
+######################################################################
redshift='redshift -l39.9030:85.9979'
alias gtk-redshift="gtk-$redshift"
alias redshift="$redshift"
-alias serva='ssh luke@servb.ath.cx -p3440'
-alias tree='tree --charset utf8'
+######################################################################
+# Some almost-function aliases #
+######################################################################
+#alias serva='ssh luke@servb.ath.cx -p3440'
#alias phpdoctor='php /usr/gnu/www/0-other/phpdoctor-head/phpdoc.php'
alias lock="clear; away -C 'This terminal is locked'"
diff --git a/.emacs b/.emacs
index 6f884eb..4e8f026 100644
--- a/.emacs
+++ b/.emacs
@@ -7,6 +7,9 @@
(require 'org-install)
(require 'org-checklist)
+(ido-mode t)
+;(global-linum-mode)
+
(require 'color-theme-solarized)
(color-theme-solarized-dark)