Feat: Update

This commit is contained in:
2023-01-01 09:54:13 -05:00
parent a1ad7fffc0
commit d1288eaa7d
15 changed files with 233 additions and 109 deletions

View File

@@ -75,13 +75,16 @@ complete -c bun \
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from'
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server'
complete -c bun \

View File

@@ -0,0 +1,24 @@
function __fish_tmuxinator_using_command
set cmd (commandline -opc)
if [ (count $cmd) -gt 1 ]
if [ $argv[1] = $cmd[2] ]
return 0
end
end
return 1
end
set __fish_tmuxinator_program_cmd (commandline -o)[1]
function __fish_tmuxinator_program
eval "$__fish_tmuxinator_program_cmd $argv"
end
complete -f -c $__fish_tmuxinator_program_cmd -a '(__fish_tmuxinator_program completions start)'
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_use_subcommand' -x -a "(__fish_tmuxinator_program commands)"
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command start' -a "(__fish_tmuxinator_program completions start)"
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command open' -a "(__fish_tmuxinator_program completions open)"
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command copy' -a "(__fish_tmuxinator_program completions copy)"
complete -f -c $__fish_tmuxinator_program_cmd -n '__fish_tmuxinator_using_command delete' -a "(__fish_tmuxinator_program completions delete)"
abbr --add mux "tmuxinator"

View File

@@ -27,6 +27,8 @@ set -gx QT_AUTO_SCREEN_SCALE_FACTOR 1
set -Ux GTK_IM_MODULE ibus
set -Ux QT_IM_MODULE ibus
set -Ux XMODIFIERS @im=ibus
set -Ux PYTHON_KEYRING_BACKEND keyring.backends.null.Keyring
set -Ux SYSTEMD_TIMEDATED_NTP_SERVICES chronyd.service:systemd-timesyncd.service
set -gx EDITOR lvim
set -gx NVIM_LISTEN_ADDRESS /tmp/nvimsocket

View File

@@ -1,11 +1,14 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export GTK_IM_MODULE:ibus
SETUVAR --export PYTHON_KEYRING_BACKEND:keyring\x2ebackends\x2enull\x2eKeyring
SETUVAR --export QT_IM_MODULE:ibus
SETUVAR --export SSH_AGENT_PID:1161
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXC1g8rp/agent\x2e1160
SETUVAR --export SSH_AGENT_PID:1262
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXX5aofTC/agent\x2e1261
SETUVAR --export SYSTEMD_TIMEDATED_NTP_SERVICES:chronyd\x2eservice\x3asystemd\x2dtimesyncd\x2eservice
SETUVAR --export XMODIFIERS:\x40im\x3dibus
SETUVAR __fish_initialized:3400
SETUVAR _fish_abbr_mux:tmuxinator
SETUVAR fish_color_autosuggestion:4c566a
SETUVAR fish_color_cancel:\x2d\x2dreverse
SETUVAR fish_color_command:81a1c1