diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-04-06 11:57:33 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-04-06 11:57:33 +0200 |
| commit | c277d54d35c064dafc1abe6be1763dcc6eb99b4d (patch) | |
| tree | ee4e565a00ed1942e812f7a1ad459dbc314ef812 | |
| parent | 57b4b8f02f6414a609f3279a06d1db316de4d070 (diff) | |
update
| -rw-r--r-- | .profile | 5 | ||||
| -rwxr-xr-x | bin/kdeb | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -2,7 +2,10 @@ PATH=~/bin:$PATH:~/go/bin -[ "${SHELL##*/}" = bash ] && . ~/.bashrc +[ "${SHELL##*/}" = bash ] && { + . ~/.bashrc + eval "$(gh completion -s bash)" +} # Last action: auto start X11 when logged on first console #case $HOSTNAME in diff --git a/bin/kdeb b/bin/kdeb new file mode 100755 index 0000000..0cb036f --- /dev/null +++ b/bin/kdeb @@ -0,0 +1,3 @@ +#!/bin/sh -x +[ "$USER" = root ] || exec sudo "$0" "$@" +exec cat '/sys/kernel/debug/tracing/trace_pipe' |
