Add poetry vim alias, change order of install
This commit is contained in:
parent
e875c0ac75
commit
6b2d664e0d
|
@ -1,3 +1,3 @@
|
||||||
alias vim="nvim"
|
alias pvim="poetry run nvim"
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
alias kssh="kitty +kitten ssh"
|
alias kssh="kitty +kitten ssh"
|
||||||
|
|
|
@ -43,7 +43,6 @@ fi
|
||||||
if [ ! which -a fzf > /dev/null ]
|
if [ ! which -a fzf > /dev/null ]
|
||||||
then
|
then
|
||||||
python3 -m pip install --user pipx
|
python3 -m pip install --user pipx
|
||||||
pipx ensurepath
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# pyenv
|
# pyenv
|
||||||
|
|
34
install.sh
34
install.sh
|
@ -45,6 +45,23 @@ PACKER_REPO="https://github.com/wbthomason/packer.nvim"
|
||||||
PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
|
PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
|
||||||
git_clone_if_missing "$PACKER_REPO" "$PACKER_DIR"
|
git_clone_if_missing "$PACKER_REPO" "$PACKER_DIR"
|
||||||
|
|
||||||
|
# Set up git editor if missing
|
||||||
|
grep "editor" "$HOME/.gitconfig" > /dev/null || git config --global core.editor "nvim"
|
||||||
|
|
||||||
|
# Add NerdFont symbols
|
||||||
|
mkdir -p "$HOME/.local/share/fonts"
|
||||||
|
for FILE in nerdfont_symbols/*
|
||||||
|
do
|
||||||
|
create_symlink "$HOME/.local/share/fonts" "$FILE"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Ensure nvim plugins
|
||||||
|
mkdir -p "$HOME/.local/bin"
|
||||||
|
for FILE in bin/*
|
||||||
|
do
|
||||||
|
which -a "$(basename $FILE)" > /dev/null || create_symlink "$HOME/.local/bin" "$FILE"
|
||||||
|
done
|
||||||
|
|
||||||
# oh-my-zsh
|
# oh-my-zsh
|
||||||
if [ ! -d "$ZSH" ]
|
if [ ! -d "$ZSH" ]
|
||||||
then
|
then
|
||||||
|
@ -63,20 +80,3 @@ then
|
||||||
create_symlink "$OHMYZSH_DIR" "./aliases.zsh"
|
create_symlink "$OHMYZSH_DIR" "./aliases.zsh"
|
||||||
create_symlink "$OHMYZSH_DIR" "./completions.zsh"
|
create_symlink "$OHMYZSH_DIR" "./completions.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set up git editor if missing
|
|
||||||
grep "editor" "$HOME/.gitconfig" > /dev/null || git config --global core.editor "nvim"
|
|
||||||
|
|
||||||
# Add NerdFont symbols
|
|
||||||
mkdir -p "$HOME/.local/share/fonts"
|
|
||||||
for FILE in nerdfont_symbols/*
|
|
||||||
do
|
|
||||||
create_symlink "$HOME/.local/share/fonts" "$FILE"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Ensure nvim plugins
|
|
||||||
mkdir -p "$HOME/.local/bin"
|
|
||||||
for FILE in bin/*
|
|
||||||
do
|
|
||||||
which -a "$(basename $FILE)" > /dev/null || create_symlink "$HOME/.local/bin" "$FILE"
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in a new issue