From 8ad58c791a8704651ea2d00015300f29d9301977 Mon Sep 17 00:00:00 2001 From: Victor Xian Wang Date: Fri, 1 Jan 2021 14:50:03 -0500 Subject: initial commit add some rc files and conf files --- omz/custom/example.zsh | 10 ++++++++++ omz/custom/func.zsh | 3 +++ omz/custom/plugins/example/example.plugin.zsh | 2 ++ omz/custom/themes/example.zsh-theme | 4 ++++ 4 files changed, 19 insertions(+) create mode 100644 omz/custom/example.zsh create mode 100644 omz/custom/func.zsh create mode 100644 omz/custom/plugins/example/example.plugin.zsh create mode 100644 omz/custom/themes/example.zsh-theme (limited to 'omz') 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%}%% " -- cgit v1.2.3