Commits

Anonymous committed bb7e7c8

.cshrc updating

Comments (0)

Files changed (1)

 alias cp        cp -v
 alias mv        mv -v
 alias ec        emacsclient -nw
+alias ecc       emacsclient -n -c
+alias mg        mg -n
 alias halt      halt -p
 alias mkdir     mkdir -v
 alias pkg_add   pkg_add -r
 set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/games $HOME/bin)
 
 setenv EDITOR vi
+setenv BROWSER uzbl-tabbed
 setenv PAGER less
 setenv BLOCKSIZE K
+setenv GOOS freebsd
+setenv GOARCH amd64
+setenv GOROOT $HOME/src/go
+setenv GOBIN $HOME/bin
 
 if ($?prompt) then
-    set prompt = "`/bin/hostname -s`# "
+    if ($USER == root) then
+	set prompt = "# "
+    else
+	set prompt = "$ "
+    endif
     set filec
     set history = 100
     set savehist = 100
 	bindkey -k down history-search-forward
     endif
 endif
+
+# completions
+complete cd 'C/*/d/'
+complete rmdir 'C/*/d/'
+
+complete which 'p/1/c/'
+complete where 'p/1/c/'
+complete man 'p/1/c/'
+
+complete alias 'p/1/a/'
+complete unalias 'p/1/a/'
+
+complete unset 'p/1/s/'
+complete set 'p/1/s/'
+
+complete unsetenv 'p/1/e/'
+complete setenv 'p/1/e/'
+
+complete limit 'p/1/l/'
+
+complete chown 'p/1/u/'
+
+#
+
+fortune freebsd-tips