aboutsummaryrefslogtreecommitdiff
path: root/.local/share
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-02-05 21:29:10 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-02-05 21:29:57 +0100
commita77db7f4893ae7c4cffdb0b6392467bbe5773c98 (patch)
treeebf653af8850388dcddad0a8b4f2f2176e3e2391 /.local/share
parent472c64a062390f6f18fc7b96fbc7e59b53827956 (diff)
updates
Diffstat (limited to '.local/share')
-rwxr-xr-x.local/share/bin/mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/share/bin/mk b/.local/share/bin/mk
index ab0f586..b7e2b41 100755
--- a/.local/share/bin/mk
+++ b/.local/share/bin/mk
@@ -6,6 +6,13 @@ showmode() {
printf '\e[1A\e['$col'G\e[1;30m%s\e[0m\n' "$mode"
}
+mode_west() {
+ showmode 'west'
+ [ -z "$*" ] && set -- build
+ exec west "$@"
+}
+[ -e "west.yml" ] && mode_west "$@"
+
mode_cmake() {
showmode 'cmake'
builddir="build"