From 864d1291c60b1357a7072cd392cdcfe2cde970c3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 27 Feb 2017 22:58:09 +0300 Subject: [PATCH] .gitconfig: use cut instead or colrm --- .gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index 74673eb..6e59db2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -95,7 +95,7 @@ ssb = status --short --branch - aliases = "!git config --get-regexp '^alias\\.' | colrm 1 6 | sed 's/ / = /'" + aliases = "!git config --get-regexp '^alias\\.' | cut -c7- | sed 's/ / = /'" add-alias = "!f() { [ $# = 3 ] && git config $1 alias.\"$2\" \"$3\" && return 0 || echo \"Usage: git add-(local|global)-alias \" >&2 && return 1; }; f" add-global-alias = "!exec git add-alias --global" -- 2.39.5