- SC1000 $ is not used specially and should therefore be escaped.
- SC1001 This
\o
will be a regular 'o' in this context. - SC1003 Want to escape a single quote? echo 'This is how it'\''s done'.
- SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
- SC1007 Remove space after = if trying to assign a value (or for empty string, use var='' ... ).
- SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.
- SC1009 The mentioned parser error was in ...
- SC1010 Use semicolo
#!/bin/bash | |
(( ${#} >= 3 )) || { echo "usage: $(basename ${0}) github-username archive-file [files | directories]"; exit 1; } | |
exec >${2} | |
zero='${0}' | |
cat <<SCRIPT | |
#!/usr/bin/env bash | |
usage() { | |
echo "usage: bash ${zero} identity-file" |
#!/bin/bash | |
if [[ $1 == "dark" ]]; then | |
UI_THEME_GTK="Mojave-dark" | |
UI_THEME_QT="KvMojave" | |
UI_ICONS="Faenza-Ambiance" | |
VIM_BG="dark" | |
elif [[ $1 == "light" ]]; then | |
UI_THEME_GTK="Mojave-light" | |
UI_THEME_QT="KvMojaveLight" |
\033[38;2;23;147;209m β | |
βββ | |
βββββ | |
βββββββ | |
βββββββββ | |
βββββββββββ | |
ββββ βββββββββ | |
βββββββββββββββ | |
βββββββββββββββββ | |
βββββββββββββββββββ |
This steps should help working remotely with Sublime Text. They are meant to be incremental, just setting up SFTP will go a long way.
I have all my code on my laptop, edit locally and automatically push the files to my server.
I never edit "tracked" files on the server directly.
I sometimes modify untracked files on the server using rmate
(see below).
Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.
Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill
) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.
As 2024 is winding down:
It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.
A number of things have happened since the last update.
#!/usr/bin/bash | |
# Goal: move workspace $1 to the currently focused output, move the workspace on the current output | |
# to the output where $1 was. | |
# The workspace we want to end up on | |
dest_ws=$1 | |
# The output where the destination ws resides | |
output_of_dest_ws=$(i3-msg -t get_workspaces | jq .[] | jq -r 'select(.name == "'$dest_ws'").output') | |
# The currently focused output |