| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| | |
This reverts commit e2d787992ed8cdd3105fdf8d45ab2d695796238b.
|
| | | |
|
| |/
|
|
| |
Some file deletion, small changes, some addition
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aliasrc | improve se()
1. Remove external commands like find.
2. Remove extensions and path (if present) from the names in fzf.
3. Only open Nvim if there is a selection.
Do all of these without using find, sed, grep.
- First line creates an array with the files in the scripts directory.
- Second line removes path (:t) and the extensions (:r) from the scripts.
- [[ "${c}" ]] checks if this variable is non-empty.
- ${${(M)s:#*/${c}*}[1]}
(M) enables "match" mode.
:# anchors the pattern to the start of each array element.
*/${c}* matches any path containing the selected basename.
[1] selects the first matching item.
* capture sub-directories too
|
| |
|
|
|
|
|
|
|
|
|
| |
useful if want to use shortcuts w/ different progs instead of
their default behavior (cd / $EDITOR), e.g.:
```sh
cd ~/Downloads
mv foo.mp3 $music
```
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
|
| |
|
|
|
|
|
|
|
| |
* weath: Add option to get forecast from a different location
* Remove retry and make max time lower because it is interactive
* Give weath 'cp' option to copy forecast as plain text for sharing
* Make weath a separate script
|
| | |
|
| | |
|
| |
|
|
| |
If GOMODCACHE is not set, it defaults to $GOPATH/pkg/mod
cf. https://go.dev/ref/mod#environment-variables
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
used in programs like `xtrace` (line 172 `/usr/bin/xtrace`)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Delete redundant text
XDG directories are already configured within this file, so having a fallback is unnecessary
* `Less` now supports XDG Base Directory spec (v590)
https://www.greenwoodsoftware.com/less/news.590.html
* `weechat` now supports XDG Base Directory spec
https://github.com/weechat/weechat/commit/70cdf21681d75090c3df9858c9e7ce5a85433856
* Formatting
* ALSA supports XDG Base Directory
https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.3
* Fix spacing
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Replace youtube-dl with yt-dlp in qndl
* Replace youtube-dl with yt-dlp in dmenuhandler
* Replace youtube-dl with yt-dlp in newsboat config
* Replace youtube-dl with yt-dlp in aliasrc
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* minor forgoten stuff
we already have shutdown in sudo loop
* why was this still here? it belongs in ~/.config/
* what the actual phucc
* implemented loginctl and fixed shebang
|
| |
|
| |
don't remove the whole thing, just sudo
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
shortcutrc is created on shell directory with shortcuts script
same for zshnameddirrc
|
| | |
|
| | |
|
| |
|
|
|
|
| |
A custom filename and directory can be specified with startx command,
which in this case is $XINITRC variable that indicates
$XDG_CONFIG_HOME/x11/xinitrc
|
| | |
|
| |
|
| |
Find is faster and it is only one command. The last `:` is removed by the parameter expansion (works in both Bash and Zsh).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Compatibility for FreeBSD's paste(1)
According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.
> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:
`find / -name bin -type d | paste -s -d : -`
* Compatibility for FreeBSD's paste(1)
According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.
> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:
`find / -name bin -type d | paste -s -d : -`
|
| | |
|
| | |
|
|
|
many files renamed, possible breakage
|