####################
# functions
####################

# create a new directory and enter it
function md() {
    mkdir -p "$@" && cd "$@"
}

# open dotfiles in nvim
function nrc() {
    cd ~/.dotfiles && nvim -c GFiles
}

# remove all docker images
function drmi() {
	docker rmi -f $(docker images | grep '^<none>' | awk '{print $3}')
}

# cd into dotfiles folder
function cdd() {
    cd ~/.dotfiles
}

function reinstall-neovim() {
  brew update
  brew uninstall neovim
  brew uninstall luajit
  brew install --HEAD luajit
  brew install --HEAD neovim
}


####################
# functions
####################

# create a new directory and enter it
function md() {
    mkdir -p "$@" && cd "$@"
}

# open dotfiles in nvim
function nrc() {
    cd ~/.dotfiles && nvim -c GFiles
}

# remove all docker images
function drmi() {
	docker rmi -f $(docker images | grep '^<none>' | awk '{print $3}')
}

# cd into dotfiles folder
function cdd() {
    cd ~/.dotfiles
}

function reinstall-neovim() {
  brew update
  brew uninstall neovim
  brew uninstall luajit
  brew install --HEAD luajit
  brew install --HEAD neovim
}

function update-language-servers() {
  npm update -g typescript pyright vscode-css-languageserver-bin vscode-html-languageserver-bin
  brew update efm-langserver
}

Add update language servers zsh function
Add update language servers zsh function
