Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jrockway committed Dec 20, 2009
1 parent 3961954 commit 1a731ec
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 58 deletions.
59 changes: 4 additions & 55 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@
# path
PATH=\
$HOME/utils/android/tools:\
$HOME/perl/install/bin:\
$HOME/.cabal/bin:\
$HOME/projects/jrockway-utils/bin:\
$HOME/utils:\
/var/qmail/bin:\
/usr/local/bin:\
/usr/local/sbin:\
/sw/bin:\
/sw/sbin:\
/opt/bin:\
/opt/sbin:\
/usr/games:\
Expand Down Expand Up @@ -46,9 +42,6 @@ esac

# aliases
alias xmms=xmms2
alias xm_intel="xmms2 config alsa.device intel; xmms2 stop"
alias xm_usb="xmms2 config alsa.device usb; xmms2 stop"
alias fixsound="amixer set IEC958 mute;amixer set IEC958 unmute"

function svup {
svc -u "$HOME/.dotfiles/services/$1"
Expand All @@ -70,54 +63,12 @@ function lbperl {
perl -Ilib "bin/$1";
}

alias gap="git add --patch"
function mod {
cd ~/projects/cpan_modules/$1*
}

alias ec="emacsclient -t" # yay for multi-tty!

wlan="ra0"

function net {
sudo iwconfig $wlan ap any;
sudo iwconfig $wlan essid "$1";
sleep 1;
sudo dhclient $wlan;
}

function phone {
sudo ifconfig $wlan up
sudo iwconfig $wlan mode ad-hoc
sudo iwconfig $wlan essid WMWifiRouter
sleep 1;
sudo dhclient $wlan
}

function phone_down {
sudo ifconfig $wlan down
sudo iwconfig $wlan mode managed
sudo ifconfig $wlan up
sudo iwconfig $wlan essid "none"
}

function asdf_install {
sbcl --eval "(asdf:operate 'asdf:load-op :asdf-install)" --eval "(asdf-install:install :$1)" --eval "(quit)"
}

function asdf_oos {
rlwrap sbcl --eval "(asdf:operate 'asdf:$2 :$1)"
}

function eeeExtra {
if [ -e /media/eeeExtra ]
then
pumount /media/eeeExtra
else
pmount /dev/disk/by-uuid/f632a69e-0e7b-4456-af98-531d0b0d2ba8 eeeExtra
fi
}

# limits
ulimit -c 0

Expand All @@ -127,16 +78,15 @@ shopt -s checkwinsize
shopt -s cdable_vars
alias h=history
alias r='fc -s'
export HISTSIZE=10000
export HISTFILESIZE=10000
#export HISTSIZE=10000
export HISTFILESIZE=100000
unset HISTSIZE

# term setup
stty stop ''

# exports
#export CFLAGS="-O0 -g3"
export EDITOR="mg"
#export EDITOR="emacs -nw --no-desktop "
alias edit="$EDITOR"
export SVKMERGE="svk-merge-emacs"

Expand All @@ -145,5 +95,4 @@ alias carpcs="perl -MCarp::Always script/*_server.pl -d"

alias prepl="pclient +PC --name=repl -PC"

unset HISTSIZE

eval $(perl -Mlocal::lib)
2 changes: 1 addition & 1 deletion emacs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((default (:stipple nil :background "black" :foreground "gray90" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 72 :width normal :foundry "bitstream" :family "Bitstream Vera Sans Mono")) (nil nil)))
'(default ((t (:background "black" :foreground "gray90" :height 95 :family "DejaVu Sans Mono"))))
'(cperl-array ((((class color) (background dark)) (:background "navy" :foreground "yellow"))))
'(cperl-hash ((((class color) (background dark)) (:background "navy" :foreground "Red"))))
'(cperl-hash-face ((((class color) (background dark)) (:background "navy" :foreground "Red" :slant normal :weight bold))))
Expand Down
3 changes: 2 additions & 1 deletion minicpanrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
local: /home/jon/perl/cpan
local: /home/jon/perl5/cpan
remote: http://cpan.llarian.net/
3 changes: 2 additions & 1 deletion xmodmaprc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
! remove Lock = Caps_Lock
remove Lock = Caps_Lock
! keysym Caps_Lock = Super_L
keysym Caps_Lock = Control_L

!! Reverse alt/super
! clear mod1
Expand Down

0 comments on commit 1a731ec

Please sign in to comment.