Skip to content

Commit

Permalink
zsh, irb, awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Jan 28, 2011
1 parent 0886724 commit 54b9d5d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
5 changes: 3 additions & 2 deletions awesome/rc.lua
Expand Up @@ -14,7 +14,8 @@ require('wicked')
beautiful.init(awful.util.getdir('config') .. "/themes/default/theme.lua")

-- This is used later as the default terminal and editor to run.
terminal = "mlclient"
terminal = "urxvt"
-- terminal = "mlterm"
editor = os.getenv("EDITOR") or "nano"
editor_cmd = terminal .. " -e " .. editor

Expand Down Expand Up @@ -366,6 +367,6 @@ client.add_signal("unfocus", function(c) c.border_color = beautiful.border_norma
-- }}}

-- {{{ Initial process
os.execute('mlterm -j blend')
-- os.execute('mlterm -j blend')
-- }}}

2 changes: 1 addition & 1 deletion dot.irbrc
Expand Up @@ -2,4 +2,4 @@ require 'irb/completion'
require 'pp'
require 'rubygems'
IRB.conf[:AUTO_INDENT] = true

IRB.conf[:SAVE_HISTORY] = 1000
2 changes: 1 addition & 1 deletion dot.zshenv
Expand Up @@ -14,7 +14,7 @@ case $(uname) in

Linux)
manpath=(/usr/share/man(N) $manpath)
path=($HOME/bin(N) $HOME/.cabal/bin(N) /usr/local/bin(N) /usr/lib/perl5/vendor_perl/bin(N) /usr/lib/perl5/site_perl/bin(N) $path)
path=($HOME/bin(N) $HOME/.cabal/bin(N) /usr/local/bin(N) /usr/lib/perl5/vendor_perl/bin(N) /usr/lib/perl5/site_perl/bin(N) /usr/share/java/apache-ant/bin(N) $path)
EDITOR='vim';
PAGER='less';;
esac
Expand Down
7 changes: 5 additions & 2 deletions dot.zshrc
Expand Up @@ -16,6 +16,9 @@ compctl -g '*.lzma' unlzma
compctl -d make
compctl -d locate

# http://memo.officebrook.net/20101117.html#p01
zstyle ':completion:*' accept-exact '*(N)'

# zsh modules
autoload -U zmv
zmodload -i zsh/files
Expand All @@ -38,8 +41,8 @@ alias helpdiff='diff -u <(gunzip -c help.txt.gz) <(./configure --help)'
alias g='git'
alias c='cabal'
alias wmv='noglob zmv -W'
alias pbcopy='xclip -selection clipboard -i'
alias pbpaste='xclip -selection clipboard -o'
[ -x /usr/bin/xclip ] && function pbcopy() { xclip -selection clipboard -i $* }
[ -x /usr/bin/xclip ] && function pbpaste() { xclip -selection clipboard -o $* }

GCC_COMMON_OPTIONS='-Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align \
-Wwrite-strings -Wfloat-equal -Wpointer-arith -Wredundant-decls \
Expand Down

0 comments on commit 54b9d5d

Please sign in to comment.