Added zsh aliases (help?)
This commit is contained in:
15
zsh/.oh-my-zsh/.gitignore
vendored
15
zsh/.oh-my-zsh/.gitignore
vendored
@@ -1,15 +0,0 @@
|
||||
# custom files
|
||||
custom/
|
||||
|
||||
# temp files directories
|
||||
cache/
|
||||
log/
|
||||
*.swp
|
||||
.DS_Store
|
||||
|
||||
# editor configs
|
||||
.vscode
|
||||
.idea
|
||||
|
||||
# zcompile cached files
|
||||
*.zwc
|
||||
0
zsh/.oh-my-zsh/cache/.gitkeep
vendored
Normal file
0
zsh/.oh-my-zsh/cache/.gitkeep
vendored
Normal file
1
zsh/.oh-my-zsh/cache/.zsh-update
vendored
Normal file
1
zsh/.oh-my-zsh/cache/.zsh-update
vendored
Normal file
@@ -0,0 +1 @@
|
||||
LAST_EPOCH=20453
|
||||
3
zsh/.oh-my-zsh/cache/grep-alias
vendored
Normal file
3
zsh/.oh-my-zsh/cache/grep-alias
vendored
Normal file
@@ -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'
|
||||
11
zsh/.oh-my-zsh/custom/aliases.zsh
Normal file
11
zsh/.oh-my-zsh/custom/aliases.zsh
Normal file
@@ -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"
|
||||
12
zsh/.oh-my-zsh/custom/example.zsh
Normal file
12
zsh/.oh-my-zsh/custom/example.zsh
Normal file
@@ -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
|
||||
3
zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh
Normal file
3
zsh/.oh-my-zsh/custom/plugins/example/example.plugin.zsh
Normal file
@@ -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
|
||||
Submodule zsh/.oh-my-zsh/custom/plugins/fast-syntax-highlighting added at 3d574ccf48
Submodule zsh/.oh-my-zsh/custom/plugins/zsh-autosuggestions added at 85919cd1ff
6
zsh/.oh-my-zsh/custom/themes/example.zsh-theme
Normal file
6
zsh/.oh-my-zsh/custom/themes/example.zsh-theme
Normal file
@@ -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%}%% "
|
||||
0
zsh/.oh-my-zsh/log/.gitkeep
Normal file
0
zsh/.oh-my-zsh/log/.gitkeep
Normal file
Reference in New Issue
Block a user