git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-03-24 14:53:49 +0100
committermail_redacted_for_web 2022-03-24 14:53:49 +0100
commit9e6f65b8f71d2a4c24949a12ba12b701ca65cfa7 (patch)
treebeef840d6e1d05f83ad6ae5c6980a889353ffa76 /.bash
parent47b582f42b6731902a7a0f5b6389300d831bd269 (diff)
downloaddotfiles-9e6f65b8f71d2a4c24949a12ba12b701ca65cfa7.tar.bz2
disable SC2012 in xstat
Diffstat (limited to '.bash')
-rw-r--r--.bash/aliases.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bash/aliases.bash b/.bash/aliases.bash
index eb83e6d..c7954e9 100644
--- a/.bash/aliases.bash
+++ b/.bash/aliases.bash
@@ -68,6 +68,7 @@ function add-sshagent-init {
# ----- FS ----- #
xstat() {
for target in "${@}";do
+ # shellcheck disable=SC2012
inode=$(ls -di "${target}"|cut -d ' ' -f 1)
fs=$(df "${target}"|tail -n 1|awk '{print $1}')
crtime=$(sudo debugfs -R 'stat <'"${inode}"'>' "${fs}" 2>/dev/null | grep -oP 'crtime.*--\s*\K.*')