Better git alias
This commit is contained in:
@@ -91,7 +91,8 @@ local function set_laptop_workspaces_to_monocle()
|
|||||||
for i = 1, #workspaces do
|
for i = 1, #workspaces do
|
||||||
local workspace = workspaces[i]
|
local workspace = workspaces[i]
|
||||||
if
|
if
|
||||||
workspace.monitor
|
not workspace.special
|
||||||
|
and workspace.monitor
|
||||||
and workspace.monitor.description == LAPTOP_MONITOR_NAME
|
and workspace.monitor.description == LAPTOP_MONITOR_NAME
|
||||||
then
|
then
|
||||||
hl.workspace_rule {
|
hl.workspace_rule {
|
||||||
|
|||||||
@@ -193,8 +193,10 @@ alias \
|
|||||||
g="git" \
|
g="git" \
|
||||||
ga="git add" \
|
ga="git add" \
|
||||||
dga="dgit add -f" \
|
dga="dgit add -f" \
|
||||||
|
dgA="dgit add -A" \
|
||||||
dgc="dgit commit" \
|
dgc="dgit commit" \
|
||||||
dgcm="dgit commit -m" \
|
dgcm="dgit commit -m" \
|
||||||
|
dgcam="dgit commit -a -m" \
|
||||||
dgs="dgit status" \
|
dgs="dgit status" \
|
||||||
dgd="dgit diff" \
|
dgd="dgit diff" \
|
||||||
dgdc="dgit diff --cached" \
|
dgdc="dgit diff --cached" \
|
||||||
|
|||||||
Reference in New Issue
Block a user