mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Swap bspwmrc to fish; refactor root-level scripts
This commit is contained in:
parent
43c56716f8
commit
8ac7a6cb37
6 changed files with 54 additions and 45 deletions
22
swim
22
swim
|
|
@ -31,28 +31,6 @@ function format -d 'Format fish scripts'
|
|||
fish_indent --write $src_fish_files
|
||||
end
|
||||
|
||||
function sync -d 'Run the sync script'
|
||||
./sync $argv
|
||||
end
|
||||
|
||||
function install_arch -d 'Run the install_arch script'
|
||||
./install_arch $argv
|
||||
end
|
||||
|
||||
function upgrade_debi -d 'Run the debian_upgrade script'
|
||||
./upgrade_debian $argv
|
||||
end
|
||||
|
||||
function provision -d 'Run the provision_linux script with the specified distro'
|
||||
argparse 'd/distro=' -- $argv
|
||||
|
||||
if test -n "$_flag_d"
|
||||
set -g distro $_flag_d
|
||||
end
|
||||
|
||||
./provision_linux $argv[2..-1]
|
||||
end
|
||||
|
||||
# --- execution/help handling ---
|
||||
|
||||
function help -a function_name -d 'Displays help for internal function'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue