mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 13:25:38 +00:00
Push alias
This commit is contained in:
parent
5d25fdb6fa
commit
9273d559fa
@ -16,6 +16,7 @@ SETUVAR _fish_abbr_frc:vim\x20\x24HOME/\x2econfig/fish/config\x2efish
|
|||||||
SETUVAR _fish_abbr_ga:git\x20add\x20\x2dA
|
SETUVAR _fish_abbr_ga:git\x20add\x20\x2dA
|
||||||
SETUVAR _fish_abbr_gc:git\x20commit\x20\x2dm
|
SETUVAR _fish_abbr_gc:git\x20commit\x20\x2dm
|
||||||
SETUVAR _fish_abbr_gd:git\x20diff
|
SETUVAR _fish_abbr_gd:git\x20diff
|
||||||
|
SETUVAR _fish_abbr_gp:git\x20push
|
||||||
SETUVAR _fish_abbr_gs:git\x20status
|
SETUVAR _fish_abbr_gs:git\x20status
|
||||||
SETUVAR _fish_abbr_h:http\x20\x2dFh\x20\x2d\x2dall
|
SETUVAR _fish_abbr_h:http\x20\x2dFh\x20\x2d\x2dall
|
||||||
SETUVAR _fish_abbr_hosts:sudo\x20vim\x20/etc/hosts
|
SETUVAR _fish_abbr_hosts:sudo\x20vim\x20/etc/hosts
|
||||||
|
@ -13,6 +13,7 @@ function aliases --description 'All aliases'
|
|||||||
abbr -a gd 'git diff'
|
abbr -a gd 'git diff'
|
||||||
abbr -a ga 'git add -A'
|
abbr -a ga 'git add -A'
|
||||||
abbr -a gc 'git commit -m'
|
abbr -a gc 'git commit -m'
|
||||||
|
abbr -a gp 'git push'
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
if command -v nvim > /dev/null
|
if command -v nvim > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user