r_bash – Telegram
How to assign default value to variable and convert to uppercase in 1 line?

I typed this in the browser search box and Google AI said this is supposed to work

VAR=${VAR^^:-DEFAULT_VALUE}

I tried it inside a noscript file (.sh) and in the console and it does not work.

Any ideas on how it can be done? thanks

PS: I'm using bash 5.x



https://redd.it/1p7uof7
@r_bash
Bash tool to view Linux group info

I was reading the book "Practical Linux System Administration" and it mentioned the "groupmems" command, and I noticed it's missing on Debian 13. So I wrote a small Bash noscript to view regular group members and improved it over a few days.
It only shows regular group info. It can list groups with no members, it separates users for whom a group is primary from those for whom it’s supplementary, and a few other small features.
I'll add some account sprawl checks to it I guess.
If you think of anything practical that fits the scope, I can add it.

https://github.com/mim-s/gshow

https://redd.it/1p6qjkd
@r_bash
I challenge you to answer this question :)

Which awk command will correctly parse the /proc/1234/smaps file to sum the Pss (Proportional Set Size) memory for all private, clean memory mappings belonging to the process?

A. awk '/^Pss:/ {pss=$2} /Private_Clean/ {sum += pss} END {print sum}' /proc/1234/smaps

B. awk '/^Pss:/ {sum += $2} END {print sum}' /proc/1234/smaps

C. awk '/Private_Clean/ {getline; if ($1=="Pss:") sum+=$2} END {print sum}' /proc/1234/smaps

D. awk 'BEGIN {RS="\\n\\n"} /Private_Clean/ {for(i=1;i<=NF;i++) if($i=="Pss:") {sum+=$(i+1); break}} END {print sum}' /proc/1234/smaps

https://redd.it/1p836c3
@r_bash
Script creating tmux session

Hi, I am finding it difficult to get the desired outcome from the following line in my server start noscript.

tmux new-session -d -s ${TMUX_SESSION} ${SERVER_COMMAND} | tee -a ${LOG}

This starts the server properly in Tmux and I'm able to connect to the session and send commands in other noscripts. My problem is specifically with tee not appending the output of the server command to the log. It seems to be appending the output of the Tmux new-session command (which is nothing).

I've tried putting the server command and tee in ` but I get command too long error.

I've also tried issuing the start command the same way I do the server action commands with tmux send-keys. My server starts and logging is correct, but the tmux session is not persistent so I can't review and I believe my action commands won't run.

Any ideas for nesting this properly?

https://redd.it/1p89exy
@r_bash
bash: warning: command substitution: ignored null byte in input

i don't even know if it's right to post it here, but I'm having that problem whenever I try to use bash-completion with yay -S ... I don't know what to do. I thought it was Starship so I deleted it, but it kept happening. It's not something that is going to k1ll me, but I would love if anyone could help me.



https://redd.it/1p9t4j3
@r_bash
Script to unrar file I right click on?

For some reason Linux Mint's archive manager crashes every time you use the right click "extract here" option for multi-part rar archives and you need to right click the file explorer, open in terminal, and then type "unrar x \*part1.rar" to extract the files.

As there is no way I can find just set unrar x as some kind of setting in archive manager my idea was to write a .sh noscript, place it in "/Applications", and add it to the list of "Open With" programs so now I have a right click option to extract rar files easier. But I can't get the code to work.

#!/bin/bash
if "*part1.rar" do unrar x
Pause -p "Check for errors then press any key to continue"
exit

https://redd.it/1p9vu42
@r_bash
h - A Bash Help Tool for Aliases, Functions, Keywords, and Commands



---

Title:
h – is a full fledged command resolution engine that unifies help into one shortcut - h

Body:
Hi Everyone!

I’ve been working on a tool called h that helps you understand exactly what a Bash command is doing, whether it’s an alias, function, builtin, keyword, or external command.

---
Repo:
https://github.com/JB63134/bashh

---

## **Features**

* Analyze **builtins, aliases, keywords, functions, and external commands**
* Shows **where a command is defined** (files, line numbers, or shell)
* Displays **alias expansions** and function contents
* Provides **help output** or points to `man` / `info` pages
* Syntax-highlighted preview for functions and noscripts (`batcat` preferred, fallback to Perl)
* Integrates with **fzf** for interactive command search
* Automatic detection of commonly used **admin paths**

---

## **Usage**

```bash
h [command] # Analyze the given command
h # Analyze your most‑recent command
h -f # Launch interactive search using fzf
h -h | --help # Show usage instructions
h -v | --version # Show version info
```

---

## **Examples**

```bash
05:08:13 Tue Dec 02: ~ $ h exit

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'exit' is a shell builtin
↳ Showing 'help exit':

exit: exit [n]
Exit the shell.

Exits the shell with a status of N. If N is omitted, the exit status
is that of the last command executed.

05:08:21 Tue Dec 02: ~ $ h then

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ Detected BASH Keyword 'then'
↳ then -- Begins the command block for a true condition.

05:08:24 Tue Dec 02: ~ $ h ls

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'ls' is an alias → resolves to: alias ls='printf "\n" && ls --color=auto'
↳ Defined in: /home/jb/.bashrc (line 96)

05:08:26 Tue Dec 02: ~ $ h cd

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'cd' is a shell function
↳ Declared in: /home/jb/.bash
functions (line 28)
↳ Showing function: cd

cd ()
{
builtin cd "${@:-$HOME}" && printf "\n" && ls --color=auto
}

─── End of function 'cd' ───

05:08:28 Tue Dec 02: ~ $ h wallpaper

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'wallpaper' is an external command
↳ Path: /home/jb/bin/noscripts/wallpaper
↳ Showing noscript 'wallpaper':

───────┬────────────────────────────────────────────────────────────────────────
│ File: /home/jb/bin/noscripts/wallpaper
───────┼────────────────────────────────────────────────────────────────────────
1 │ #!/usr/bin/env bash
2 │ # ------------------------------------------------------------
3 │ # Random Wallpaper Setter
4 │ # ------------------------------------------------------------
5 │ WALLPAPERDIR="$HOME/Pictures/Wallpapers"
6 │
7 │ mkdir -p "$WALLPAPER
DIR"
8 │ # --- Pick a random image
9 │ file=$(find "$WALLPAPERDIR" -maxdepth 1 -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.webp" \) | shuf -n 1)
10 │
11 │ if [[ -z "$file" ]]; then
12 │ printf "No images found in %s\n" "$WALLPAPER
DIR"
13 │ exit 1
14 │ fi
15 │
16 │ # Build uri path
17 │ uri="file://$file"
18 │
19 │ # Apply wallpaper
20 │ gsettings set org.gnome.desktop.background picture-uri "$uri"
21 │ gsettings set
h - A Bash Help Tool for Aliases, Functions, Keywords, and Commands



---

**Title:**
`h` – is a full fledged command resolution engine that unifies help into one shortcut - h

**Body:**
Hi Everyone!

I’ve been working on a tool called `h` that helps you **understand exactly what a Bash command is doing**, whether it’s an alias, function, builtin, keyword, or external command.

---
**Repo:**
https://github.com/JB63134/bash_h

---

## **Features**

* Analyze **builtins, aliases, keywords, functions, and external commands**
* Shows **where a command is defined** (files, line numbers, or shell)
* Displays **alias expansions** and function contents
* Provides **help output** or points to `man` / `info` pages
* Syntax-highlighted preview for functions and noscripts (`batcat` preferred, fallback to Perl)
* Integrates with **fzf** for interactive command search
* Automatic detection of commonly used **admin paths**

---

## **Usage**

```bash
h [command] # Analyze the given command
h # Analyze your most‑recent command
h -f # Launch interactive search using fzf
h -h | --help # Show usage instructions
h -v | --version # Show version info
```

---

## **Examples**

```bash
05:08:13 Tue Dec 02: ~ $ h exit

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'exit' is a shell builtin
↳ Showing 'help exit':

exit: exit [n]
Exit the shell.

Exits the shell with a status of N. If N is omitted, the exit status
is that of the last command executed.

05:08:21 Tue Dec 02: ~ $ h then

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ Detected BASH Keyword 'then'
↳ then -- Begins the command block for a true condition.

05:08:24 Tue Dec 02: ~ $ h ls

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'ls' is an alias → resolves to: alias ls='printf "\n" && ls --color=auto'
↳ Defined in: /home/jb/.bashrc (line 96)

05:08:26 Tue Dec 02: ~ $ h cd

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'cd' is a shell function
↳ Declared in: /home/jb/.bash_functions (line 28)
↳ Showing function: cd

cd ()
{
builtin cd "${@:-$HOME}" && printf "\n" && ls --color=auto
}

─── End of function 'cd' ───

05:08:28 Tue Dec 02: ~ $ h wallpaper

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'wallpaper' is an external command
↳ Path: /home/jb/bin/noscripts/wallpaper
↳ Showing noscript 'wallpaper':

───────┬────────────────────────────────────────────────────────────────────────
│ File: /home/jb/bin/noscripts/wallpaper
───────┼────────────────────────────────────────────────────────────────────────
1 │ #!/usr/bin/env bash
2 │ # ------------------------------------------------------------
3 │ # Random Wallpaper Setter
4 │ # ------------------------------------------------------------
5 │ WALLPAPER_DIR="$HOME/Pictures/Wallpapers"
6 │
7 │ mkdir -p "$WALLPAPER_DIR"
8 │ # --- Pick a random image
9 │ file=$(find "$WALLPAPER_DIR" -maxdepth 1 -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.webp" \) | shuf -n 1)
10 │
11 │ if [[ -z "$file" ]]; then
12 │ printf "No images found in %s\n" "$WALLPAPER_DIR"
13 │ exit 1
14 │ fi
15 │
16 │ # Build uri path
17 │ uri="file://$file"
18 │
19 │ # Apply wallpaper
20 │ gsettings set org.gnome.desktop.background picture-uri "$uri"
21 │ gsettings set
org.gnome.desktop.background picture-uri-dark "$uri"
22 │ printf "Wallpaper has been Changed\n"
───────┴────────────────────────────────────────────────────────────────────────


─── End of noscript 'wallpaper' ───

05:08:33 Tue Dec 02: ~ $ h wc

╔══════════════════════════════════════════════╗
║ h – Bash Help Tool ║
╚══════════════════════════════════════════════╝
├─ 'wc' is an external command
↳ Path: /usr/bin/wc
↳ Showing 'wc --help':

Usage: /usr/bin/wc [OPTION]... [FILE]...
or: /usr/bin/wc [OPTION]... --files0-from=F
Print newline, word, and byte counts for each FILE, and a total line if
more than one FILE is specified. A word is a nonempty sequence of non white
space delimited by white space characters or by start or end of input.

With no FILE, or when FILE is -, read standard input.

The options below may be used to select which counts are printed, always in
the following order: newline, word, character, byte, maximum line length.
-c, --bytes print the byte counts
-m, --chars print the character counts
-l, --lines print the newline counts
--files0-from=F read input from the files specified by
NUL-terminated names in file F;
If F is - then read names from standard input
-L, --max-line-length print the maximum display width
-w, --words print the word counts
--total=WHEN when to print a line with total counts;
WHEN can be: auto, always, only, never
--help display this help and exit
--version output version information and exit

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Full documentation <https://www.gnu.org/software/coreutils/wc>
or available locally via: info '(coreutils) wc invocation'


05:09:05 Tue Dec 02: ~ $


```

---

## **Installation**

Just source the noscript in your `.bashrc` or `.bash_profile`:

```bash
source /path/to/bash_h
```

---




https://redd.it/1pc5uua
@r_bash
ca – Bash Command Analyzer (aliases, functions, binaries, keywords, noscripts, $PATH & more)


---

**Title:**
🔍 `ca` – Bash Command Analyzer (aliases, functions, binaries, keywords, noscripts, $PATH & more)

**Body:**
Hi everyone!

I’ve been working on a tool called `ca` — a Bash Command Analyzer that inspects **any command in your shell** and tells you exactly what it is: alias, function, builtin, keyword, or external binary/noscript. Think of it as a **supercharged `type`/`which`/`declare`/`stat`/`file`/`ldd`/`getcap` combo** with extra insights for auditing and debugging.

https://github.com/JB63134/bash_ca

---

## Features

* Inspect **aliases, functions, builtins, keywords, external binaries/noscripts**.
* Shows **definition location**, line numbers, permissions, ownership, timestamps, and package info.
* Recursively resolves **alias expansions** and shell introspection.
* Syntax-highlighted preview for functions and noscripts (`batcat` preferred, fallback to Perl)
* Integrates with **fzf** for interactive command search
* Automatic detection of commonly used **admin paths**
* Advanced modes:
* `-o` → Detect commands overridden by aliases/functions
* `-p` → Inspect your PATH, directory order & permissions
* `-s` → List sourced Bash files in the current session
* `-S` → Scan for SUID/SGID binaries & world-writable directories

---

## Simple Usage

```bash
ca [command] # Inspect a specific command
ca # Inspect most recent command
ca -o # Show overridden commands (aliases/functions)
ca -p # Inspect PATH directories
ca -s # List sourced Bash files
ca -S # Check SUID/SGID and world-writable dirs
```

---

## Examples

```bash
06:29:39 Tue Dec 02: ~ $ ca awk

╔══════════════════════════════════════════════╗
║ ca – Bash Command Analyzer ║
╚══════════════════════════════════════════════╝
├─ 'awk' is an external command
↳ Path: /usr/bin/awk
↳ Symbolic link to: /usr/bin/mawk
↳ Now Examining: /usr/bin/mawk
↳ Shadowed versions:
│ /bin/mawk
↳ File Size: 166.7 KB
↳ Executable Type: ELF binary - Dynamically linked
⎟ ELF 64-bit LSB pie executable, x86-64
⎟ version 1 (SYSV)
⎟ dynamically linked
⎟ interpreter /lib64/ld-linux-x86-64.so.2
⎟ BuildID[sha1]=cc81073357a89867fe0c0f00033a0547bcf4d0e6
⎟ for GNU/Linux 3.2.0, stripped
↳ Dependencies:
⎟ linux-vdso.so.1 (0x00007fbb29ea1000)
⎟ libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbb29d54000)
⎟ libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbb29b5e000)
⎟ /lib64/ld-linux-x86-64.so.2 (0x00007fbb29ea3000)
↳ Package Info:
⎟ Package: mawk
⎟ Version: 1.3.4.20250131-1
⎟ Maintainer: Boyuan Yang <byang@debian.org>
⎟ Denoscription: Pattern scanning and text processing language
↳ Permissions: -rwxr-xr-x (octal: 755)
⎟ ↳ Owner/Group: root:root
⎟ ↳ Owner: rwx Group: r-x Others: r-x
↳ Timestamps:
⎟ ↳ File created (crtime): 2025-09-16 17:47:02.113599418 -0500
⎟ ↳ Last status change (ctime): 2025-09-16 17:47:02.117599418 -0500
⎟ ↳ Last modified (mtime): 2025-02-04 07:40:44.000000000 -0600
⎟ ↳ Last accessed (atime): 2025-12-02 00:45:59.880781082 -0600
└──────────────────────────────────────────


05:30:42 Tue Dec 02: ~ $ ca -o

╔══════════════════════════════════════════════╗
║ ca – Bash Command Analyzer ║
╚══════════════════════════════════════════════╝

======== Override Inspection (Mode: -o) ========

├─ Examining aliases to detect overridden commands:
↳ Alias egrep overrides at least one external command of the same name.
↳ Alias fgrep overrides at least one external command of the same name.
↳ Alias grep overrides at least one external command of the same name.
↳ Alias ls overrides at least one external command of the same name.

├─ Examining functions to detect overridden commands:
↳ Function cd overrides a builtin of the same name.

├─ Examining disabled builtins to identify any
replacement commands:
↳ No builtins are disabled.

======== End of list ========

05:32:47 Tue Dec 02: ~ $ ca -p

╔══════════════════════════════════════════════╗
║ ca – Bash Command Analyzer ║
╚══════════════════════════════════════════════╝

======== PATH Inspection (Mode: -p) ========

├─ Examining PATH directory Order and Permissions:
↳ Directory Perms Owner:Group Note
↳ /home/jb/bin drwxr-xr-x jb:jb Writable
↳ /home/jb/bin/noscripts drwxr-xr-x jb:jb Writable
↳ /home/jb/.local/bin drwxr-xr-x jb:jb Writable
↳ /usr/local/bin drwxr-xr-x root:root
↳ /usr/bin drwxr-xr-x root:root
↳ /bin lrwxrwxrwx root:root
↳ /usr/local/games drwxr-xr-x root:root
↳ /usr/games drwxr-xr-x root:root

======== End of list ========

05:32:53 Tue Dec 02: ~ $ ca -s

╔══════════════════════════════════════════════╗
║ ca – Bash Command Analyzer ║
╚══════════════════════════════════════════════╝

======== Sourced File Inspection (Mode: -s) ========

├─ Searching for files that have been sourced into the enviroment automatically
↳ Discovered the following files:
↳ /home/jb/.bashrc
↳ /usr/share/bash-completion/bash_completion
↳ /etc/bash_completion
↳ /home/jb/.bash_aliases
↳ /home/jb/.bash_functions
↳ /home/jb/.bash_ca
↳ /home/jb/.bash_h
↳ /etc/bash.bashrc

======== End of list ========

05:32:57 Tue Dec 02: ~ $ ca -S

╔══════════════════════════════════════════════╗
║ ca – Bash Command Analyzer ║
╚══════════════════════════════════════════════╝

======== SUID/SGID and World-Writable directories (Mode: -S) ========

├─ Scanning for SUID binaries:
↳ -rwsr-xr-x 1 root root 70888 Apr 19 2025 /usr/bin/chfn
↳ -rwsr-xr-x 1 root root 52936 Apr 19 2025 /usr/bin/chsh
↳ -rwsr-xr-x 1 root root 39224 Jul 16 12:27 /usr/bin/fusermount3
↳ -rwsr-xr-x 1 root root 88568 Apr 19 2025 /usr/bin/gpasswd
↳ -rwsr-xr-x 1 root root 72072 May 9 2025 /usr/bin/mount
↳ -rwsr-xr-x 1 root root 18816 May 9 2025 /usr/bin/newgrp
↳ -rwsr-xr-x 1 root root 166848 Oct 5 2024 /usr/bin/ntfs-3g
↳ -rwsr-xr-x 1 root root 118168 Apr 19 2025 /usr/bin/passwd
↳ -rwsr-xr-x 1 root root 30952 Jan 17 2025 /usr/bin/pkexec
↳ -rwsr-xr-x 1 root root 84360 May 9 2025 /usr/bin/su
↳ -rwsr-xr-x 1 root root 306456 Jun 30 00:55 /usr/bin/sudo
↳ -rwsr-xr-x 1 root root 55688 May 9 2025 /usr/bin/umount
↳ -rwsr-xr-- 1 root messagebus 51272 Mar 8 2025 /usr/lib/dbus-1.0/dbus-daemon-launch-helper
↳ -rwsr-xr-x 1 root root 18512 Apr 18 2025 /usr/libexec/spice-client-glib-usb-acl-helper
↳ -rwsr-xr-x 1 root root 494144 Aug 1 10:02 /usr/lib/openssh/ssh-keysign
↳ -rwsr-xr-x 1 root root 18744 Jan 17 2025 /usr/lib/polkit-1/polkit-agent-helper-1
↳ -rwsr-sr-x 1 root root 14672 Oct 27 12:03 /usr/lib/xorg/Xorg.wrap
↳ -rwsr-xr-x 1 root root 146480 Mar 31 2025 /usr/sbin/mount.nfs
↳ -rwsr-xr-- 1 root dip 428424 Feb 17 2025 /usr/sbin/pppd

├─ Scanning for SGID binaries:
↳ -rwxr-sr-x 1 root shadow 113848 Apr 19 2025 /usr/bin/chage
↳ -rwxr-sr-x 1 root crontab 51936 Jun 13 03:30 /usr/bin/crontab
↳ -rwxr-sr-x 1 root mail 23104 Dec 31 2024 /usr/bin/dotlockfile
↳ -rwxr-sr-x 1 root shadow 31256 Apr 19 2025 /usr/bin/expiry
↳ -rwxr-sr-x 1 root _ssh 420224 Aug 1 10:02 /usr/bin/ssh-agent
↳ -rwxr-sr-x 1 root mail 22784 Nov 5 17:01 /usr/libexec/camel-lock-helper-1.2
↳ -rwxr-sr-x 1
root utmp 14416 Nov 12 2024 /usr/lib/x86_64-linux-gnu/utempter/utempter
↳ -rwsr-sr-x 1 root root 14672 Oct 27 12:03 /usr/lib/xorg/Xorg.wrap
↳ -rwxr-sr-x 1 root shadow 43256 Jun 29 12:40 /usr/sbin/unix_chkpwd

├─ Scanning for World-Writable directories:
↳ /run/lock drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /tmp drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /tmp/.font-unix drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /tmp/.XIM-unix drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /tmp/.ICE-unix drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /tmp/.X11-unix drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /dev/mqueue drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /dev/shm drwxrwxrwt root:root WORLD-WRITABLE + STICKY
↳ /var/tmp drwxrwxrwt root:root WORLD-WRITABLE + STICKY

```

---

## Installation

```bash
source /path/to/bash_ca
```

Then call `ca` from your shell.

---

`ca` is useful if you want to:

* Audit your shell for overridden or shadowed commands.
* Inspect binaries for permissions, package info, or SUID/SGID bits.
* Debug complex aliases and shell functions.
* See which files are sourced automatically in your environment.

---


edited to add example

https://redd.it/1pc6f5e
@r_bash
My bash power toys

I'm happy to bring my own dotfiles to this channel.
https://gitlab.com/hambled/dotfiles

I've been working on it daily for years and have built a lot of tools that I find very useful in my day-to-day work as a sysadmin.

This dotfiles includes interesting tools such as a file explorer (built on fzf), a tool for inspecting commands, variables, and manuals, another for managing various histfiles (contexts) and many more.

The main issue you might have is that it's in Spanish, but it's my native language and the one I feel most comfortable with. I apologize for that "inconvenience."

Bye!

https://redd.it/1pci2vf
@r_bash
Tmux not starting from noscript

\#!/bin/bash

\#python study workspace

hyprctl dispatch workspace 1

hyprctl dispatch exec "kitty -e sh -lc '/usr/bin/tmux a -t cs50p || /usr/bin/tmux exec bash'"

sleep 2

hyprctl dispatch exec brave "https://www.youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V \\

https://cs50.harvard.edu/python/psets/6/ \\

https://github.com/cyberseekerx"

sleep 3

hyprctl dispatch workspace 10

hyprctl dispatch exec kitty "\~/Videos/"

\## the problem here is that when I try to use this noscript fresh start (as in after booting)
\#but works after starting tmux instance other things work

thanks for you'r help in advance

https://redd.it/1pcwa64
@r_bash