Better git alias

This commit is contained in:
2026-09-30 17:25:03 +01:00
parent 9b7e3507d8
commit b24b0dcba9
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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 {
+2
View File
@@ -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" \