We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29ac2ca + 548aa11 commit 2ef1223Copy full SHA for 2ef1223
etc/profile.d/50_default_editor.sh
@@ -31,12 +31,6 @@ if ! printf '%s\n' "$XDG_DATA_DIRS" | grep -- "/usr/share/usability-misc/xdg-ove
31
export XDG_DATA_DIRS="/usr/share/usability-misc/xdg-override/:$XDG_DATA_DIRS"
32
fi
33
34
-if [ "$XDG_SESSION_TYPE" = "tty" ]; then
35
- true "$0: INFO: Running inside tty. Stop."
36
- return 0
37
- exit 0
38
-fi
39
-
40
if [ ! "$VISUAL" = "" ]; then
41
return 0
42
exit 0
@@ -54,4 +48,3 @@ if command -v mousepad 1>/dev/null 2>/dev/null ; then
54
48
55
49
56
50
57
0 commit comments