From 7b5d420154cdc4b2b946d32b725dab7fc1f94833 Mon Sep 17 00:00:00 2001 From: Vivian Elisabeth H <36878099+SparkleDEV@users.noreply.github.com> Date: Wed, 31 Dec 2025 03:05:23 +0100 Subject: [PATCH] Added zsh aliases (help?) --- zsh/.oh-my-zsh/.gitignore | 15 --------------- zsh/.oh-my-zsh/cache/.gitkeep | 0 zsh/.oh-my-zsh/cache/.zsh-update | 1 + zsh/.oh-my-zsh/cache/grep-alias | 3 +++ zsh/.oh-my-zsh/custom/aliases.zsh | 11 +++++++++++ zsh/.oh-my-zsh/custom/example.zsh | 12 ++++++++++++ .../custom/plugins/example/example.plugin.zsh | 3 +++ .../custom/plugins/fast-syntax-highlighting | 1 + zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions | 1 + zsh/.oh-my-zsh/custom/themes/example.zsh-theme | 6 ++++++ zsh/.oh-my-zsh/log/.gitkeep | 0 11 files changed, 38 insertions(+), 15 deletions(-) delete mode 100644 zsh/.oh-my-zsh/.gitignore create mode 100644 zsh/.oh-my-zsh/cache/.gitkeep create mode 100644 zsh/.oh-my-zsh/cache/.zsh-update create mode 100644 zsh/.oh-my-zsh/cache/grep-alias create mode 100644 zsh/.oh-my-zsh/custom/aliases.zsh create mode 100644 zsh/.oh-my-zsh/custom/example.zsh create mode 100644 zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh create mode 160000 zsh/.oh-my-zsh/custom/plugins/fast-syntax-highlighting create mode 160000 zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions create mode 100644 zsh/.oh-my-zsh/custom/themes/example.zsh-theme create mode 100644 zsh/.oh-my-zsh/log/.gitkeep diff --git a/zsh/.oh-my-zsh/.gitignore b/zsh/.oh-my-zsh/.gitignore deleted file mode 100644 index a53da3b..0000000 --- a/zsh/.oh-my-zsh/.gitignore +++ /dev/null @@ -1,15 +0,0 @@ -# custom files -custom/ - -# temp files directories -cache/ -log/ -*.swp -.DS_Store - -# editor configs -.vscode -.idea - -# zcompile cached files -*.zwc diff --git a/zsh/.oh-my-zsh/cache/.gitkeep b/zsh/.oh-my-zsh/cache/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/zsh/.oh-my-zsh/cache/.zsh-update b/zsh/.oh-my-zsh/cache/.zsh-update new file mode 100644 index 0000000..10513e4 --- /dev/null +++ b/zsh/.oh-my-zsh/cache/.zsh-update @@ -0,0 +1 @@ +LAST_EPOCH=20453 diff --git a/zsh/.oh-my-zsh/cache/grep-alias b/zsh/.oh-my-zsh/cache/grep-alias new file mode 100644 index 0000000..f680f50 --- /dev/null +++ b/zsh/.oh-my-zsh/cache/grep-alias @@ -0,0 +1,3 @@ +alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox,.venv,venv}' +alias egrep='grep -E' +alias fgrep='grep -F' diff --git a/zsh/.oh-my-zsh/custom/aliases.zsh b/zsh/.oh-my-zsh/custom/aliases.zsh new file mode 100644 index 0000000..f442dc9 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/aliases.zsh @@ -0,0 +1,11 @@ +alias ll="eza -lh" +alias la="eza -lah" +alias lc="clear && eza -lh" +alias lac="clear && eza -lah" + +alias cdtemp="cd $(mktemp -d)" +alias girlboss="sudo" + +alias vialias="nvim $HOME/.oh-my-zsh/custom/aliases.zsh" + +alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" diff --git a/zsh/.oh-my-zsh/custom/example.zsh b/zsh/.oh-my-zsh/custom/example.zsh new file mode 100644 index 0000000..c194f49 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/example.zsh @@ -0,0 +1,12 @@ +# Put files in this folder to add your own custom functionality. +# See: https://github.com/ohmyzsh/ohmyzsh/wiki/Customization +# +# Files in the custom/ directory will be: +# - loaded automatically by the init script, in alphabetical order +# - loaded last, after all built-ins in the lib/ directory, to override them +# - ignored by git by default +# +# Example: add custom/shortcuts.zsh for shortcuts to your local projects +# +# brainstormr=~/Projects/development/planetargon/brainstormr +# cd $brainstormr diff --git a/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh b/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh new file mode 100644 index 0000000..83611fe --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh @@ -0,0 +1,3 @@ +# 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. +# See: https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#overriding-and-adding-plugins diff --git a/zsh/.oh-my-zsh/custom/plugins/fast-syntax-highlighting b/zsh/.oh-my-zsh/custom/plugins/fast-syntax-highlighting new file mode 160000 index 0000000..3d574cc --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/fast-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 3d574ccf48804b10dca52625df13da5edae7f553 diff --git a/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions new file mode 160000 index 0000000..85919cd --- /dev/null +++ b/zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit 85919cd1ffa7d2d5412f6d3fe437ebdbeeec4fc5 diff --git a/zsh/.oh-my-zsh/custom/themes/example.zsh-theme b/zsh/.oh-my-zsh/custom/themes/example.zsh-theme new file mode 100644 index 0000000..5551207 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/themes/example.zsh-theme @@ -0,0 +1,6 @@ +# Put your custom themes in this folder. +# See: https://github.com/ohmyzsh/ohmyzsh/wiki/Customization#overriding-and-adding-themes +# +# Example: + +PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg[yellow]%}%~ %{$reset_color%}%% " diff --git a/zsh/.oh-my-zsh/log/.gitkeep b/zsh/.oh-my-zsh/log/.gitkeep new file mode 100644 index 0000000..e69de29