init .config git tracking
This commit is contained in:
commit
114c330966
151 changed files with 4688 additions and 0 deletions
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[submodule "kickstart.nvim"]
|
||||
path = kickstart.nvim
|
||||
url = git@stvnliu.me:steven/kickstart.nvim
|
||||
[submodule "config/nvim"]
|
||||
path = config/nvim
|
||||
url = git@stvnliu.me:steven/kickstart.nvim
|
||||
16
Makefile
Normal file
16
Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
PREFIX ?= /usr/local
|
||||
BINDIR ?= $(PREFIX)/bin
|
||||
SRCDIR ?= exec
|
||||
|
||||
SCRIPTS := $(wildcard $(SRCDIR)/*.sh)
|
||||
|
||||
install:
|
||||
@mkdir -p $(BINDIR)
|
||||
for f in $(SCRIPTS); do \
|
||||
install -m 755 "$$f" "$(BINDIR)/$$(basename $$f .sh)"; \
|
||||
done
|
||||
|
||||
uninstall:
|
||||
for f in $(SCRIPTS); do \
|
||||
rm -f "$(BINDIR)/$$(basename $$f .sh)"; \
|
||||
done
|
||||
149
config/beansprout/config.kdl
Normal file
149
config/beansprout/config.kdl
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
// Whether new windows should go to the top or bottom of the window stack
|
||||
attach_mode top
|
||||
|
||||
// Path to shell script to be automatically executed after the compositor completes setup
|
||||
// autoexec "/usr/local/bin/autoexec.sh"
|
||||
|
||||
// Number of windows in the primary stack
|
||||
primary_count 1
|
||||
// Proportion of output width taken by the primary stack
|
||||
primary_ratio 0.55
|
||||
// Proportion of output width taken by a window if it's the only visible tiled window
|
||||
// This is intended to be useful for ultrawides where a very wide window might not look very nice
|
||||
// When this is < 1.0 and only one window is being tiled, the window will have width
|
||||
// output_width * single_window_ratio and be centered on the output
|
||||
single_window_ratio 1.0
|
||||
/// Side the primary should be on
|
||||
primary_side left
|
||||
// Whether mousing over a new window should move focus
|
||||
focus_follows_pointer #true
|
||||
// Whether the focus should warp to the center of newly-focused windows
|
||||
pointer_warp_on_focus_change #true
|
||||
// Path to image to use as wallpaper
|
||||
// The same image is displayed on all outputs, but scaled separately
|
||||
// If this config is missing, then the background is blank black screen
|
||||
wallpaper_image_path "~/Pictures/Wallpapers/shores-1440p.png"
|
||||
borders {
|
||||
width 2
|
||||
// 8 or 10 digit hex color
|
||||
color_focused "0x812729" // polar-night 4
|
||||
color_unfocused "0x2c2628" // polar-night 2
|
||||
}
|
||||
bar {
|
||||
background_color "0x191919" // polar-night 1
|
||||
position top
|
||||
center clock
|
||||
custom_command "uname -r"
|
||||
right custom
|
||||
}
|
||||
// Tag overlay widget; shown briefly when switching tags
|
||||
// Remove this block to disable the overlay entirely
|
||||
tag_overlay {
|
||||
tag_amount 10
|
||||
background_color "0x191919"
|
||||
border_color "0x812729"
|
||||
square_active_background_color "0x212020"
|
||||
square_active_border_color "0x2c2628"
|
||||
square_active_occupied_color "0xd24d1f"
|
||||
square_inactive_background_color "0x191919"
|
||||
square_inactive_border_color "0x2c2628"
|
||||
square_inactive_occupied_color "0x812729"
|
||||
}
|
||||
// Window rules; applied once when a window first appears
|
||||
// Rules are evaluated top-to-bottom; later rules override earlier ones
|
||||
window_rules {
|
||||
// Float Firefox picture-in-picture windows
|
||||
// float app_id="zen" title="Picture-in-Picture"
|
||||
// Float any window with "Preferences" in the title
|
||||
float title="*Preferences*"
|
||||
// Keep mpv windows tiled
|
||||
no_float app_id="mpv"
|
||||
// Send Slack to tag 3 (1<<2 = 0x0004)
|
||||
tags 0x0004 app_id="Slack"
|
||||
}
|
||||
|
||||
keybinds {
|
||||
// Swap a window
|
||||
spawn Mod4 W "rofi -show drun"
|
||||
spawn Alt L "swaylock"
|
||||
spawn Mod4 Return foot
|
||||
// Move focus up or down the windows stack
|
||||
focus_next_window Mod4 J
|
||||
focus_prev_window Mod4 K
|
||||
// Move focus between windows
|
||||
focus_next_output Mod4 Period
|
||||
focus_prev_output Mod4 Comma
|
||||
// Move windows between outputs
|
||||
send_to_next_output Mod4+Shift Period
|
||||
send_to_prev_output Mod4+Shift Comma
|
||||
// Swap the currently-focused window with the current primary
|
||||
zoom Mod4 Z
|
||||
// Float/unfloat the currently-focused window
|
||||
toggle_float Mod4+Shift F
|
||||
// Change the primary ratio of the current output
|
||||
change_primary_ratio Mod4 H 0.05
|
||||
change_primary_ratio Mod4 L -0.05
|
||||
// Change the number of windows in the primary side
|
||||
increment_primary_count Mod4 I
|
||||
decrement_primary_count Mod4 D
|
||||
// Reload config file
|
||||
reload_config Mod4+Shift R
|
||||
// Toggle fullscreen on the currently-focused window
|
||||
toggle_fullscreen Mod4 F
|
||||
// Close the currently-focused window
|
||||
close_window Mod4+Shift Q
|
||||
// Exit the entire river session
|
||||
exit_river Ctrl+Alt Delete
|
||||
// Move windows up or down the stack
|
||||
swap_next Mod4+Shift N
|
||||
swap_prev Mod4+Shift P
|
||||
// Move floating windows; noop on tiled windows
|
||||
move_left Mod4+Shift H 100
|
||||
move_down Mod4+Shift J 100
|
||||
move_up Mod4+Shift K 100
|
||||
move_right Mod4+Shift L 100
|
||||
// Resize floating windows; noop on tiled windows
|
||||
resize_width Mod4+Alt+Shift H -100
|
||||
resize_height Mod4+Alt+Shift J 100
|
||||
resize_height Mod4+Alt+Shift K -100
|
||||
resize_width Mod4+Alt+Shift L 100
|
||||
// Media keys (no modifier)
|
||||
spawn None XF86AudioRaiseVolume "vol up"
|
||||
spawn None XF86AudioLowerVolume "vol down"
|
||||
spawn None XF86AudioMute "vol mute"
|
||||
spawn None XF86AudioMedia "playerctl play-pause"
|
||||
spawn None XF86AudioPlay "playerctl play-pause"
|
||||
spawn None XF86AudioPrev "playerctl previous"
|
||||
spawn None XF86AudioNext "playerctl next"
|
||||
spawn None Print "sh -c screenshot"
|
||||
spawn Shift Print "sh -c screenshot-file"
|
||||
// Brightness keys (no modifier)
|
||||
spawn None XF86MonBrightnessUp "~/.config/river/brightness-up.sh"
|
||||
spawn None XF86MonBrightnessDown "~/.config/river/brightness-down.sh"
|
||||
// Special command to generate keybinds for keys 1-9 and tags 1<<0 through 1<<8
|
||||
tag_bind Mod4 set_output_tags
|
||||
tag_bind Mod4+Shift set_window_tags
|
||||
tag_bind Mod4+Ctrl toggle_output_tags
|
||||
tag_bind Mod4+Ctrl+Shift toggle_window_tags
|
||||
}
|
||||
pointer_binds {
|
||||
// Mod4 + Left click to move floating windows;
|
||||
// tiled windows will automatically float if moved
|
||||
move_window Mod4 BTN_LEFT
|
||||
// Mod4 + Right click to resize floating windows;
|
||||
// tiled windows will automatically float if resized
|
||||
resize_window Mod4 BTN_RIGHT
|
||||
}
|
||||
|
||||
// Keyboard layout configuration
|
||||
// All fields are optional and default to system/xkbcommon defaults
|
||||
keyboard_layout {
|
||||
layout "us"
|
||||
// variant "dvorak"
|
||||
options "compose:rctrl"
|
||||
}
|
||||
// Default input config for all devices
|
||||
input {
|
||||
accel_profile "flat"
|
||||
tap "enabled"
|
||||
}
|
||||
10
config/dunst/dunstrc
Normal file
10
config/dunst/dunstrc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[global]
|
||||
font="0xProto Nerd Font 12"
|
||||
separator_color="frame"
|
||||
frame_width=2
|
||||
|
||||
[urgency_normal]
|
||||
frame_color="#812729"
|
||||
background="#191919"
|
||||
foreground="#FFFFFF"
|
||||
timeout=4
|
||||
1
config/fish/.gitignore
vendored
Normal file
1
config/fish/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/**/fish_variables
|
||||
7
config/fish/completions/fisher.fish
Normal file
7
config/fish/completions/fisher.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
complete --command fisher --exclusive --long help --description "Print help"
|
||||
complete --command fisher --exclusive --long version --description "Print version"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex"
|
||||
complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"
|
||||
8
config/fish/completions/fzf_configure_bindings.fish
Normal file
8
config/fish/completions/fzf_configure_bindings.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
complete fzf_configure_bindings --no-files
|
||||
complete fzf_configure_bindings --long help --short h --description "Print help" --condition "not __fish_seen_argument --help -h"
|
||||
complete fzf_configure_bindings --long directory --description "Change the key binding for Search Directory" --condition "not __fish_seen_argument --directory"
|
||||
complete fzf_configure_bindings --long git_log --description "Change the key binding for Search Git Log" --condition "not __fish_seen_argument --git_log"
|
||||
complete fzf_configure_bindings --long git_status --description "Change the key binding for Search Git Status" --condition "not __fish_seen_argument --git_status"
|
||||
complete fzf_configure_bindings --long history --description "Change the key binding for Search History" --condition "not __fish_seen_argument --history"
|
||||
complete fzf_configure_bindings --long processes --description "Change the key binding for Search Processes" --condition "not __fish_seen_argument --processes"
|
||||
complete fzf_configure_bindings --long variables --description "Change the key binding for Search Variables" --condition "not __fish_seen_argument --variables"
|
||||
13
config/fish/completions/tide.fish
Normal file
13
config/fish/completions/tide.fish
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
complete tide --no-files
|
||||
|
||||
set -l subcommands bug-report configure reload
|
||||
|
||||
complete tide -x -n __fish_use_subcommand -a bug-report -d "Print info for use in bug reports"
|
||||
complete tide -x -n __fish_use_subcommand -a configure -d "Run the configuration wizard"
|
||||
complete tide -x -n __fish_use_subcommand -a reload -d "Reload tide configuration"
|
||||
|
||||
complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s h -l help -d "Print help message"
|
||||
complete tide -x -n "not __fish_seen_subcommand_from $subcommands" -s v -l version -d "Print tide version"
|
||||
|
||||
complete tide -x -n '__fish_seen_subcommand_from bug-report' -l clean -d "Run clean Fish instance and install Tide"
|
||||
complete tide -x -n '__fish_seen_subcommand_from bug-report' -l verbose -d "Print full Tide configuration"
|
||||
44
config/fish/conf.d/_tide_init.fish
Normal file
44
config/fish/conf.d/_tide_init.fish
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
function _tide_init_install --on-event _tide_init_install
|
||||
set -U VIRTUAL_ENV_DISABLE_PROMPT true
|
||||
|
||||
source (functions --details _tide_sub_configure)
|
||||
_load_config lean
|
||||
_tide_finish
|
||||
|
||||
if status is-interactive
|
||||
tide bug-report --check || sleep 4
|
||||
|
||||
if contains ilancosman/tide (string lower $_fisher_plugins)
|
||||
set_color bryellow
|
||||
echo "ilancosman/tide is a development branch. Please install from a release tag:"
|
||||
_tide_fish_colorize "fisher install ilancosman/tide@v6"
|
||||
sleep 3
|
||||
end
|
||||
|
||||
switch (read --prompt-str="Configure tide prompt? [Y/n] " | string lower)
|
||||
case y ye yes ''
|
||||
tide configure
|
||||
case '*'
|
||||
echo -s \n 'Run ' (_tide_fish_colorize "tide configure") ' to customize your prompt.'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function _tide_init_update --on-event _tide_init_update
|
||||
# Warn users who install from main branch
|
||||
if contains ilancosman/tide (string lower $_fisher_plugins)
|
||||
set_color bryellow
|
||||
echo "ilancosman/tide is a development branch. Please install from a release tag:"
|
||||
_tide_fish_colorize "fisher install ilancosman/tide@v6"
|
||||
sleep 3
|
||||
end
|
||||
|
||||
# Set (disable) the new jobs variable
|
||||
set -q tide_jobs_number_threshold || set -U tide_jobs_number_threshold 1000
|
||||
end
|
||||
|
||||
function _tide_init_uninstall --on-event _tide_init_uninstall
|
||||
set -e VIRTUAL_ENV_DISABLE_PROMPT
|
||||
set -e (set -U --names | string match --entire -r '^_?tide')
|
||||
functions --erase (functions --all | string match --entire -r '^_?tide')
|
||||
end
|
||||
27
config/fish/conf.d/fzf.fish
Normal file
27
config/fish/conf.d/fzf.fish
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# fzf.fish is only meant to be used in interactive mode. If not in interactive mode and not in CI, skip the config to speed up shell startup
|
||||
if not status is-interactive && test "$CI" != true
|
||||
exit
|
||||
end
|
||||
|
||||
# Because of scoping rules, to capture the shell variables exactly as they are, we must read
|
||||
# them before even executing _fzf_search_variables. We use psub to store the
|
||||
# variables' info in temporary files and pass in the filenames as arguments.
|
||||
# This variable is global so that it can be referenced by fzf_configure_bindings and in tests
|
||||
set --global _fzf_search_vars_command '_fzf_search_variables (set --show | psub) (set --names | psub)'
|
||||
|
||||
# Install the default bindings, which are mnemonic and minimally conflict with fish's preset bindings
|
||||
fzf_configure_bindings
|
||||
|
||||
# Doesn't erase autoloaded _fzf_* functions because they are not easily accessible once key bindings are erased
|
||||
function _fzf_uninstall --on-event fzf_uninstall
|
||||
_fzf_uninstall_bindings
|
||||
|
||||
set --erase _fzf_search_vars_command
|
||||
functions --erase _fzf_uninstall _fzf_migration_message _fzf_uninstall_bindings fzf_configure_bindings
|
||||
complete --erase fzf_configure_bindings
|
||||
|
||||
set_color cyan
|
||||
echo "fzf.fish uninstalled."
|
||||
echo "You may need to manually remove fzf_configure_bindings from your config.fish if you were using custom key bindings."
|
||||
set_color normal
|
||||
end
|
||||
10
config/fish/conf.d/git.fish
Normal file
10
config/fish/conf.d/git.fish
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Remove legacy hooks to prevent errors when upgrading.
|
||||
# This can be removed when we cleanup other universal abbr code.
|
||||
functions -e _git_install _git_update _git_uninstall
|
||||
|
||||
# fisher initialization, protected as omf also tries to run it.
|
||||
set -q fisher_path; or set -l fisher_path $__fish_config_dir
|
||||
if test -f $fisher_path/functions/__git.init.fish
|
||||
source $fisher_path/functions/__git.init.fish
|
||||
__git.init
|
||||
end
|
||||
10
config/fish/config.fish
Normal file
10
config/fish/config.fish
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
if status is-interactive
|
||||
abbr -a reboot 'loginctl reboot'
|
||||
abbr -a shutdown 'loginctl poweroff'
|
||||
abbr -a esync 'sudo emerge --sync'
|
||||
abbr -a enews 'eselect news read'
|
||||
abbr -a sysupdate 'sudo emerge --update --newuse --deep @world'
|
||||
alias ls 'lsd'
|
||||
alias cat 'bat'
|
||||
set -U fish_greeting "$(fortune -s -o)"
|
||||
end
|
||||
4
config/fish/fish_plugins
Normal file
4
config/fish/fish_plugins
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
jorgebucaran/fisher
|
||||
jhillyerd/plugin-git
|
||||
patrickf1/fzf.fish
|
||||
ilancosman/tide@v6
|
||||
3
config/fish/functions/__git.branch_has_wip.fish
Normal file
3
config/fish/functions/__git.branch_has_wip.fish
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
function __git.branch_has_wip -d "Returns 0 if branch has --wip--, otherwise 1"
|
||||
git log -n 1 2>/dev/null | grep -qc "\-\-wip\-\-"
|
||||
end
|
||||
6
config/fish/functions/__git.current_branch.fish
Normal file
6
config/fish/functions/__git.current_branch.fish
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function __git.current_branch -d "Output git's current branch name"
|
||||
begin
|
||||
git symbolic-ref HEAD; or \
|
||||
git rev-parse --short HEAD; or return
|
||||
end 2>/dev/null | sed -e 's|^refs/heads/||'
|
||||
end
|
||||
11
config/fish/functions/__git.default_branch.fish
Normal file
11
config/fish/functions/__git.default_branch.fish
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function __git.default_branch -d "Use init.defaultBranch if it's set and exists, otherwise use main if it exists. Falls back to master"
|
||||
command git rev-parse --git-dir &>/dev/null; or return
|
||||
if set -l default_branch (command git config --get init.defaultBranch)
|
||||
and command git show-ref -q --verify refs/heads/{$default_branch}
|
||||
echo $default_branch
|
||||
else if command git show-ref -q --verify refs/heads/main
|
||||
echo main
|
||||
else
|
||||
echo master
|
||||
end
|
||||
end
|
||||
12
config/fish/functions/__git.delete_branches.fish
Normal file
12
config/fish/functions/__git.delete_branches.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function __git.delete_branches -d "Delete multiple branches"
|
||||
argparse f/force -- $argv
|
||||
|
||||
if set -ql _flag_force
|
||||
set -f delete_flag -D
|
||||
else
|
||||
set -f delete_flag -d
|
||||
end
|
||||
for branch in $argv
|
||||
git branch $delete_flag $branch
|
||||
end
|
||||
end
|
||||
7
config/fish/functions/__git.destroy.fish
Normal file
7
config/fish/functions/__git.destroy.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function __git.destroy
|
||||
for ab in $__git_plugin_abbreviations
|
||||
abbr -e $ab
|
||||
end
|
||||
set -Ue __git_plugin_abbreviations
|
||||
set -Ue __git_plugin_initialized
|
||||
end
|
||||
8
config/fish/functions/__git.develop_branch.fish
Normal file
8
config/fish/functions/__git.develop_branch.fish
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function __git.develop_branch -d "Use develop if it exists. Falls back to dev"
|
||||
command git rev-parse --git-dir &>/dev/null; or return
|
||||
if command git show-ref -q --verify refs/heads/develop
|
||||
echo develop
|
||||
else
|
||||
echo dev
|
||||
end
|
||||
end
|
||||
210
config/fish/functions/__git.init.fish
Normal file
210
config/fish/functions/__git.init.fish
Normal file
|
|
@ -0,0 +1,210 @@
|
|||
function __git.init
|
||||
function __git.create_abbr -d "Create Git plugin abbreviation"
|
||||
set -l name $argv[1]
|
||||
set -l body $argv[2..-1]
|
||||
|
||||
# TODO: global scope abbr will be default in fish 3.6.0
|
||||
abbr -a -g $name $body
|
||||
end
|
||||
|
||||
# Provide a smooth transition from universal to global abbreviations by
|
||||
# deleting the old univeral ones. Can be removed after fish 3.6 is in
|
||||
# wide-spread use, i.e. 2024. __git.destroy should also be removed
|
||||
# at the same time.
|
||||
if set -q __git_plugin_initialized
|
||||
__git.destroy
|
||||
end
|
||||
|
||||
# git abbreviations
|
||||
__git.create_abbr g git
|
||||
__git.create_abbr ga git add
|
||||
__git.create_abbr gaa git add --all
|
||||
__git.create_abbr gau git add --update
|
||||
__git.create_abbr gapa git add --patch
|
||||
__git.create_abbr gap git apply
|
||||
__git.create_abbr gb git branch -vv
|
||||
__git.create_abbr gba git branch -a -v
|
||||
__git.create_abbr gban git branch -a -v --no-merged
|
||||
__git.create_abbr gbd git branch -d
|
||||
__git.create_abbr gbD git branch -D
|
||||
__git.create_abbr ggsup git branch --set-upstream-to=origin/\(__git.current_branch\)
|
||||
__git.create_abbr gbl git blame -b -w
|
||||
__git.create_abbr gbs git bisect
|
||||
__git.create_abbr gbsb git bisect bad
|
||||
__git.create_abbr gbsg git bisect good
|
||||
__git.create_abbr gbsr git bisect reset
|
||||
__git.create_abbr gbss git bisect start
|
||||
__git.create_abbr gc git commit -v
|
||||
__git.create_abbr gc! git commit -v --amend
|
||||
__git.create_abbr gcn! git commit -v --no-edit --amend
|
||||
__git.create_abbr gca git commit -v -a
|
||||
__git.create_abbr gca! git commit -v -a --amend
|
||||
__git.create_abbr gcan! git commit -v -a --no-edit --amend
|
||||
__git.create_abbr gcv git commit -v --no-verify
|
||||
__git.create_abbr gcav git commit -a -v --no-verify
|
||||
__git.create_abbr gcav! git commit -a -v --no-verify --amend
|
||||
__git.create_abbr gcm git commit -m
|
||||
__git.create_abbr gcam git commit -a -m
|
||||
__git.create_abbr gcs git commit -S
|
||||
__git.create_abbr gscam git commit -S -a -m
|
||||
__git.create_abbr gcfx git commit --fixup
|
||||
__git.create_abbr gcf git config --list
|
||||
__git.create_abbr gcl git clone
|
||||
__git.create_abbr gclean git clean -di
|
||||
__git.create_abbr gclean! git clean -dfx
|
||||
__git.create_abbr gclean!! "git reset --hard; and git clean -dfx"
|
||||
__git.create_abbr gcount git shortlog -sn
|
||||
__git.create_abbr gcp git cherry-pick
|
||||
__git.create_abbr gcpa git cherry-pick --abort
|
||||
__git.create_abbr gcpc git cherry-pick --continue
|
||||
__git.create_abbr gd git diff
|
||||
__git.create_abbr gdca git diff --cached
|
||||
__git.create_abbr gds git diff --stat
|
||||
__git.create_abbr gdsc git diff --stat --cached
|
||||
__git.create_abbr gdt git diff-tree --no-commit-id --name-only -r
|
||||
__git.create_abbr gdw git diff --word-diff
|
||||
__git.create_abbr gdwc git diff --word-diff --cached
|
||||
__git.create_abbr gdto git difftool
|
||||
__git.create_abbr gdg git diff --no-ext-diff
|
||||
__git.create_abbr gignore git update-index --assume-unchanged
|
||||
__git.create_abbr gf git fetch
|
||||
__git.create_abbr gfa git fetch --all --prune
|
||||
__git.create_abbr gfm "git fetch origin (__git.default_branch) --prune; and git merge FETCH_HEAD"
|
||||
__git.create_abbr gfo git fetch origin
|
||||
__git.create_abbr gl git pull
|
||||
__git.create_abbr ggl git pull origin \(__git.current_branch\)
|
||||
__git.create_abbr gll git pull origin
|
||||
__git.create_abbr glr git pull --rebase
|
||||
__git.create_abbr glg git log --stat
|
||||
__git.create_abbr glgg git log --graph
|
||||
__git.create_abbr glgga git log --graph --decorate --all
|
||||
__git.create_abbr glo git log --oneline --decorate --color
|
||||
__git.create_abbr glog git log --oneline --decorate --color --graph
|
||||
__git.create_abbr gloga git log --oneline --decorate --color --graph --all
|
||||
__git.create_abbr glom git log --oneline --decorate --color \(__git.default_branch\)..
|
||||
__git.create_abbr glod git log --oneline --decorate --color develop..
|
||||
__git.create_abbr gloo "git log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=short"
|
||||
__git.create_abbr gm git merge
|
||||
__git.create_abbr gma git merge --abort
|
||||
__git.create_abbr gmt git mergetool --no-prompt
|
||||
__git.create_abbr gmom git merge origin/\(__git.default_branch\)
|
||||
__git.create_abbr gp git push
|
||||
__git.create_abbr gp! git push --force-with-lease
|
||||
__git.create_abbr gpo git push origin
|
||||
__git.create_abbr gpo! git push --force-with-lease origin
|
||||
__git.create_abbr gpv git push --no-verify
|
||||
__git.create_abbr gpv! git push --no-verify --force-with-lease
|
||||
__git.create_abbr ggp git push origin \(__git.current_branch\)
|
||||
__git.create_abbr ggp! git push origin \(__git.current_branch\) --force-with-lease
|
||||
__git.create_abbr gpu git push origin \(__git.current_branch\) --set-upstream
|
||||
__git.create_abbr gpoat "git push origin --all; and git push origin --tags"
|
||||
__git.create_abbr ggpnp "git pull origin (__git.current_branch); and git push origin (__git.current_branch)"
|
||||
__git.create_abbr gr git remote -vv
|
||||
__git.create_abbr gra git remote add
|
||||
__git.create_abbr grb git rebase
|
||||
__git.create_abbr grba git rebase --abort
|
||||
__git.create_abbr grbc git rebase --continue
|
||||
__git.create_abbr grbi git rebase --interactive
|
||||
__git.create_abbr grbm git rebase \(__git.default_branch\)
|
||||
__git.create_abbr grbmi git rebase \(__git.default_branch\) --interactive
|
||||
__git.create_abbr grbmia git rebase \(__git.default_branch\) --interactive --autosquash
|
||||
__git.create_abbr grbom "git fetch origin (__git.default_branch); and git rebase FETCH_HEAD"
|
||||
__git.create_abbr grbomi "git fetch origin (__git.default_branch); and git rebase FETCH_HEAD --interactive"
|
||||
__git.create_abbr grbomia "git fetch origin (__git.default_branch); and git rebase FETCH_HEAD --interactive --autosquash"
|
||||
__git.create_abbr grbd git rebase develop
|
||||
__git.create_abbr grbdi git rebase develop --interactive
|
||||
__git.create_abbr grbdia git rebase develop --interactive --autosquash
|
||||
__git.create_abbr grbs git rebase --skip
|
||||
__git.create_abbr ggu git pull --rebase origin \(__git.current_branch\)
|
||||
__git.create_abbr grev git revert
|
||||
__git.create_abbr grh git reset
|
||||
__git.create_abbr grhh git reset --hard
|
||||
__git.create_abbr grhpa git reset --patch
|
||||
__git.create_abbr grm git rm
|
||||
__git.create_abbr grmc git rm --cached
|
||||
__git.create_abbr grmv git remote rename
|
||||
__git.create_abbr grpo git remote prune origin
|
||||
__git.create_abbr grrm git remote remove
|
||||
__git.create_abbr grs git restore
|
||||
__git.create_abbr grset git remote set-url
|
||||
__git.create_abbr grss git restore --source
|
||||
__git.create_abbr grst git restore --staged
|
||||
__git.create_abbr grup git remote update
|
||||
__git.create_abbr grv git remote -v
|
||||
__git.create_abbr gsh git show
|
||||
__git.create_abbr gsd git svn dcommit
|
||||
__git.create_abbr gsr git svn rebase
|
||||
__git.create_abbr gsb git status -sb
|
||||
__git.create_abbr gss git status -s
|
||||
__git.create_abbr gst git status
|
||||
__git.create_abbr gsta git stash
|
||||
__git.create_abbr gstd git stash drop
|
||||
__git.create_abbr gstl git stash list
|
||||
__git.create_abbr gstp git stash pop
|
||||
__git.create_abbr gsts git stash show --text
|
||||
__git.create_abbr gsu git submodule update
|
||||
__git.create_abbr gsur git submodule update --recursive
|
||||
__git.create_abbr gsuri git submodule update --recursive --init
|
||||
__git.create_abbr gts git tag -s
|
||||
__git.create_abbr gtv git tag | sort -V
|
||||
__git.create_abbr gsw git switch
|
||||
__git.create_abbr gswc git switch --create
|
||||
__git.create_abbr gunignore git update-index --no-assume-unchanged
|
||||
__git.create_abbr gup git pull --rebase
|
||||
__git.create_abbr gpr git pull --rebase
|
||||
__git.create_abbr gupv git pull --rebase -v
|
||||
__git.create_abbr gprv git pull --rebase -v
|
||||
__git.create_abbr gupa git pull --rebase --autostash
|
||||
__git.create_abbr gpra git pull --rebase --autostash
|
||||
__git.create_abbr gupav git pull --rebase --autostash -v
|
||||
__git.create_abbr gprav git pull --rebase --autostash -v
|
||||
__git.create_abbr gprom git pull --rebase origin \(__git.default_branch\)
|
||||
__git.create_abbr gpromi git pull --rebase=interactive origin \(__git.default_branch\)
|
||||
__git.create_abbr gprum git pull --rebase upstream \(__git.default_branch\)
|
||||
__git.create_abbr gprumi git pull --rebase=interactive upstream \(__git.default_branch\)
|
||||
__git.create_abbr gwch git log -p --abbrev-commit --pretty=medium --raw --no-merges
|
||||
|
||||
# git checkout abbreviations
|
||||
__git.create_abbr gco git checkout
|
||||
__git.create_abbr gcb git checkout -b
|
||||
__git.create_abbr gcod git checkout \(__git.develop_branch\)
|
||||
__git.create_abbr gcom git checkout \(__git.default_branch\)
|
||||
|
||||
# git flow abbreviations
|
||||
__git.create_abbr gfb git flow bugfix
|
||||
__git.create_abbr gff git flow feature
|
||||
__git.create_abbr gfr git flow release
|
||||
__git.create_abbr gfh git flow hotfix
|
||||
__git.create_abbr gfs git flow support
|
||||
|
||||
__git.create_abbr gfbs git flow bugfix start
|
||||
__git.create_abbr gffs git flow feature start
|
||||
__git.create_abbr gfrs git flow release start
|
||||
__git.create_abbr gfhs git flow hotfix start
|
||||
__git.create_abbr gfss git flow support start
|
||||
|
||||
__git.create_abbr gfbt git flow bugfix track
|
||||
__git.create_abbr gfft git flow feature track
|
||||
__git.create_abbr gfrt git flow release track
|
||||
__git.create_abbr gfht git flow hotfix track
|
||||
__git.create_abbr gfst git flow support track
|
||||
|
||||
__git.create_abbr gfp git flow publish
|
||||
|
||||
# git worktree abbreviations
|
||||
__git.create_abbr gwt git worktree
|
||||
__git.create_abbr gwta git worktree add
|
||||
__git.create_abbr gwtls git worktree list
|
||||
__git.create_abbr gwtlo git worktree lock
|
||||
__git.create_abbr gwtmv git worktree move
|
||||
__git.create_abbr gwtpr git worktree prune
|
||||
__git.create_abbr gwtrm git worktree remove
|
||||
__git.create_abbr gwtulo git worktree unlock
|
||||
|
||||
# GitLab push options
|
||||
__git.create_abbr gmr git push origin \(__git.current_branch\) --set-upstream -o merge_request.create
|
||||
__git.create_abbr gmwps git push origin \(__git.current_branch\) --set-upstream -o merge_request.create -o merge_request.merge_when_pipeline_succeeds
|
||||
|
||||
# Cleanup declared functions
|
||||
functions -e __git.create_abbr
|
||||
end
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue