]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Configuration files for zucker.schokokeks.org for bash and zsh.
authorSimon Ruderich <simon@ruderich.org>
Fri, 5 Sep 2008 21:47:55 +0000 (23:47 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 5 Sep 2008 21:47:55 +0000 (23:47 +0200)
bash/rc.zucker [new file with mode: 0644]
zsh/env.zucker [new file with mode: 0644]
zsh/rc.zucker [new file with mode: 0644]

diff --git a/bash/rc.zucker b/bash/rc.zucker
new file mode 100644 (file)
index 0000000..79d3c48
--- /dev/null
@@ -0,0 +1,9 @@
+# Bash configuration file for zucker.schokokeks.org.
+
+
+# Aliases for easy and fast cd to important directories.
+#alias cdh='cd; cd websites/ruderich.org/htdocs'
+#alias cdl='cd; /var/log/apache2/ruderich'
+
+# Immediately start zsh.
+zsh
diff --git a/zsh/env.zucker b/zsh/env.zucker
new file mode 100644 (file)
index 0000000..ae383d0
--- /dev/null
@@ -0,0 +1,7 @@
+# Zsh configuration file for environment related options for
+# zucker.schokokeks.org.
+
+
+# Add my bin/ directory to the default PATH.
+typeset -U path
+path=($HOME/bin $path)
diff --git a/zsh/rc.zucker b/zsh/rc.zucker
new file mode 100644 (file)
index 0000000..61ad339
--- /dev/null
@@ -0,0 +1,12 @@
+# Zsh configuration file for zucker.schokokeks.org.
+
+
+# Shortcuts for the prompt and to cd to important directories.
+htdocs=~/websites/ruderich.org/htdocs
+logs=/var/log/apache2/ruderich
+# Activate these shortcuts.
+: ~htdocs ~logs
+
+# Aliases for easy and fast cd to important directories.
+alias cdh='cd ~htdocs'
+alias cdl='cd ~logs'