-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shell-aliases
29 lines (24 loc) · 1.04 KB
/
shell-aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Aliases shared across shells (zsh, bash)
# ------------------------------------------
# Neovim Aliases for multiple configurations
alias astro="NVIM_APPNAME=nvim-astro nvim"
alias astrotemplate="NVIM_APPNAME=nvim-astronvim-template nvim"
alias cajus="NVIM_APPNAME=nvim-cajus nvim"
alias kickstart="NVIM_APPNAME=nvim-kickstart-nvim nvim"
alias lazyvim="NVIM_APPNAME=nvim-lazyvim nvim"
# Neovide alias with AstroNvim configuration
alias neovide="NVIM_APPNAME=nvim-astro neovide"
# ------------------------------------------
# ------------------------------------------
# Zsh history
# edit entire history
alias zsh-edit-history="fc -W; astro \"$HISTFILE\"; fc -R"
# edit previous command in history
alias zsh-edit-last-command="fc -e astro -1"
# ------------------------------------------
# ------------------------------------------
# Kitty Terminal
alias ssh="kitty +kitten ssh"
alias kitty-light="kitty +kitten themes Gruvbox Material Light Hard"
alias kitty-dark="kitty +kitten themes Gruvbox Material Dark Hard"
# ------------------------------------------