-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Title :
Remove Redundant _root() Function in .tmux.conf
Description :
The _root() function in .tmux.conf is no longer needed since commit 5c41188, as the code depending on it was modified. It can be safely removed.
Here's the code block that can be removed:
# _root() {
# pane_pid=${1:-$(tmux display -p '#{pane_pid}')}
# pane_tty=${2:-$(tmux display -p '#{b:pane_tty}')}
# root=$3
#
# username=$(_username "$pane_pid" "$pane_tty" false)
#
# [ "$username" = "root" ] && echo "$root"
# }And here's the reference to the relevant section : View in .tmux.conf
Metadata
Metadata
Assignees
Labels
No labels