summaryrefslogtreecommitdiff
path: root/omz/custom
diff options
context:
space:
mode:
authorVictor Xian Wang <victor.xianwang@gmail.com>2021-01-01 14:50:03 -0500
committerVictor Xian Wang <victor.xianwang@gmail.com>2021-01-01 15:20:29 -0500
commit8ad58c791a8704651ea2d00015300f29d9301977 (patch)
tree63d1c99995af35107c5d4ca200ef2bc6d5390b4f /omz/custom
parentae0d1395f61295cf5a94a0655b4c91879d8829f8 (diff)
downloaddotfiles-8ad58c791a8704651ea2d00015300f29d9301977.tar.gz
dotfiles-8ad58c791a8704651ea2d00015300f29d9301977.tar.bz2
dotfiles-8ad58c791a8704651ea2d00015300f29d9301977.zip
initial commit
add some rc files and conf files
Diffstat (limited to 'omz/custom')
-rw-r--r--omz/custom/example.zsh10
-rw-r--r--omz/custom/func.zsh3
-rw-r--r--omz/custom/plugins/example/example.plugin.zsh2
-rw-r--r--omz/custom/themes/example.zsh-theme4
4 files changed, 19 insertions, 0 deletions
diff --git a/omz/custom/example.zsh b/omz/custom/example.zsh
new file mode 100644
index 0000000..c505a96
--- /dev/null
+++ b/omz/custom/example.zsh
@@ -0,0 +1,10 @@
+# You can put files here to add functionality separated per file, which
+# will be ignored by git.
+# Files on the custom/ directory will be automatically loaded by the init
+# script, in alphabetical order.
+
+# For example: add yourself some shortcuts to projects you often work on.
+#
+# brainstormr=~/Projects/development/planetargon/brainstormr
+# cd $brainstormr
+#
diff --git a/omz/custom/func.zsh b/omz/custom/func.zsh
new file mode 100644
index 0000000..7079e23
--- /dev/null
+++ b/omz/custom/func.zsh
@@ -0,0 +1,3 @@
+function rh {
+ rm ~/.zsh_history
+}
diff --git a/omz/custom/plugins/example/example.plugin.zsh b/omz/custom/plugins/example/example.plugin.zsh
new file mode 100644
index 0000000..406f274
--- /dev/null
+++ b/omz/custom/plugins/example/example.plugin.zsh
@@ -0,0 +1,2 @@
+# Add your own custom plugins in the custom/plugins directory. Plugins placed
+# here will override ones with the same name in the main plugins directory.
diff --git a/omz/custom/themes/example.zsh-theme b/omz/custom/themes/example.zsh-theme
new file mode 100644
index 0000000..ef8f1c6
--- /dev/null
+++ b/omz/custom/themes/example.zsh-theme
@@ -0,0 +1,4 @@
+# Put your custom themes in this folder.
+# Example:
+
+PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg[yellow]%}%~ %{$reset_color%}%% "