Skip to content

Commit

Permalink
fish abbr update, remove universal variable dependant, use abbr_init …
Browse files Browse the repository at this point in the history
…function to load instead
  • Loading branch information
ronylee11 committed Sep 20, 2024
1 parent ca51e89 commit f1b2427
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .config/alacritty/alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ font:
style: Bold Italic

#Point size
size: 8.5
#size: 13.5
#size: 8.5
size: 13.5

offset:
x: 0
Expand Down
7 changes: 4 additions & 3 deletions .config/fish/functions/abbr_init.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function abbr_init --description 'Initializes abbreviations'
abbr -a -U -- p 'sudo pacman'
abbr -a -U -- s systemctl
abbr -a -U -- y yay
abbr -a -- y yay # imported from a universal variable, see `help abbr`
abbr -a -- p 'sudo pacman' # imported from a universal variable, see `help abbr`
abbr -a -- s systemctl # imported from a universal variable, see `help abbr`
abbr -a -- gc 'git clone'
end
1 change: 0 additions & 1 deletion .config/nvim
Submodule nvim deleted from 74b98a
15 changes: 15 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,18 @@ source $ZSH/oh-my-zsh.sh

# Tab for auto complete
bindkey '^I' autosuggest-accept

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
3 changes: 1 addition & 2 deletions autoupdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )";

cp -r ~/.config/alacritty $SCRIPT_DIR/.config
rm -r $SCRIPT_DIR/.config/nvim && cp -r ~/.config/nvim $SCRIPT_DIR/.config
cp -r ~/.config/zathura $SCRIPT_DIR/.config
cp -r ~/.config/tmux/tmux.conf $SCRIPT_DIR/.config/tmux
cp -r ~/.config/fish/functions/* $SCRIPT_DIR/.config/fish/functions
Expand All @@ -11,4 +10,4 @@ cp -r ~/.config/qutebrowser/bookmarks $SCRIPT_DIR/.config/qutebrowser
cp ~/.config/qutebrowser/config.py $SCRIPT_DIR/.config/qutebrowser
cp -r ~/.config/qutebrowser/greasemonkey $SCRIPT_DIR/.config/qutebrowser
cp ~/.config/qutebrowser/quickmarks $SCRIPT_DIR/.config/qutebrowser
cp -r ~/.zshrc $SCRIPT_DIR/.zshrc
cp ~/.zshrc $SCRIPT_DIR

0 comments on commit f1b2427

Please sign in to comment.