Aliases - Moved to appropriately named file - Added aliases for copying git-template and prettier-template - Fix to git_push_all_changes function Nvims - Compacted the function Project Access - pnew() updated to clone remore repo or create a new one from scratch depending on options provided
16 lines
437 B
Bash
16 lines
437 B
Bash
#!/bin/sh
|
|
|
|
# Nvim Distro-Switcher
|
|
alias nvim-lazy="NVIM_APPNAME=nvim-lazy nvim"
|
|
nvims() {
|
|
config=$(find -L "$HOME"/.config -maxdepth 2 -name "init.lua" -type f -execdir sh -c 'pwd | xargs basename' \; | fzf --prompt=" Neovim Config ")
|
|
|
|
if [ "$config" = "" ]; then
|
|
echo "Nothing selected"
|
|
return 0
|
|
fi
|
|
NVIM_APPNAME=$config nvim "$@"
|
|
}
|
|
# Nvim Distro-Switcher
|
|
alias nvim-lazy="NVIM_APPNAME=nvim-lazy nvim"
|