added nushell
This commit is contained in:
9
kfg
9
kfg
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
NAME="kfg"
|
||||
VERSION="0.13"
|
||||
VERSION="0.14"
|
||||
|
||||
HOME_PATH="$HOME"
|
||||
TMP_PATH="$HOME_PATH/.tmp/kfg_install"
|
||||
@@ -30,6 +30,7 @@ TOOLS[fzf]="A command-line fuzzy finder - https://github.com/junegunn/fzf"
|
||||
TOOLS[fzf-tab]="Replace zsh's default completion selection menu with fzf - https://github.com/Aloxaf/fzf-tab"
|
||||
TOOLS[zoom]="Conference platform Zoom - https://eu01web.zoom.us/"
|
||||
TOOLS[nvim]="Neovim a modal terminal editor - https://github.com/neovim/neovim/"
|
||||
TOOLS[nu]="Nushell - a new type of shell that works with data structures - https://github.com/nushell/nushell/"
|
||||
|
||||
function show_help_name {
|
||||
echo "$NAME v$VERSION"
|
||||
@@ -524,6 +525,7 @@ function p_all {
|
||||
p_zoxide
|
||||
p_fzf
|
||||
p_nvim
|
||||
p_nu
|
||||
}
|
||||
|
||||
function p_zsh {
|
||||
@@ -584,6 +586,10 @@ function p_bat {
|
||||
install_rc_download bat "bat.rc" "https://git.cbeck.tech/kamu/dotfiles/raw/branch/main/.config/bat/bat.rc"
|
||||
}
|
||||
|
||||
function p_nu {
|
||||
github_install nu 'nushell/nushell'
|
||||
}
|
||||
|
||||
function p_lsd {
|
||||
# -----------------
|
||||
# Install lsd https://github.com/Peltoche/lsd
|
||||
@@ -723,6 +729,7 @@ function install {
|
||||
fzf) p_fzf; shift ;;
|
||||
zoom) p_zoom; shift ;;
|
||||
nvim) p_nvim; shift ;;
|
||||
nu) p_nu; shift ;;
|
||||
# If invalid options were passed, then getopt should have reported an error,
|
||||
# which we checked as VALID_ARGUMENTS when getopt was called...
|
||||
*) log_error "Unrecognised program: $1"; shift ;;
|
||||
|
||||
Reference in New Issue
Block a user