feat(shell): update some aliases (git ai, docker-compose -> docker compose…)

This commit is contained in:
Pierre Martin
2024-06-21 05:20:46 +02:00
parent c4c23acc9f
commit 491d6df31f
2 changed files with 6 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
aliases = {
co = "checkout";
pushf = "push --force-with-lease --force-if-includes";
mr = "!sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -";
aimr = "log --pretty=format:'%s%n%b---'";
};
ignores = [

View File

@@ -43,10 +43,6 @@
echo " tchak !"
}
dcrefresh() {
dc stop -t0 $1 && dc rm -vf $1 && dc up -d $1
}
akamai() {
# see https://gist.github.com/saml/4758360
curl -v -s -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-ser" "$1" 2>&1 > /dev/null
@@ -91,9 +87,9 @@
j = "fasd_cd -d"; # cd, same functionality as j in autojump
zz = "fasd_cd -d -i"; # cd with interactive selection
dc = "docker-compose";
dcr = "docker-compose run --rm";
dcrm = "docker-compose rm -fsv";
dc = "docker compose";
dcr = "docker compose run --rm";
dcrm = "docker compose rm -fsv";
copy = "xclip -selection c";
bepo = "setxkbmap -layout fr -variant bepo";
@@ -103,10 +99,8 @@
t = "task";
k = "kubectl --context build";
kb9 = "k9s --context build";
kp = "kubectl --context prod-eu5";
kp9 = "k9s --context prod-eu5";
ks = "kubectl --context prod-eu6";
ks9 = "k9s --context prod-eu6";
kp = "kubectl --context prod-eu7";
kp9 = "k9s --context prod-eu7";
g = "git";
gui = "gitui";
htop = "btop";