summaryrefslogtreecommitdiffstats
path: root/.config/shell
Commit message (Collapse)AuthorAgeFilesLines
* Revert "aliasrc | improve se() (#1433)" close #1459Luke Smith2025-03-181-4/+3
| | | | This reverts commit e2d787992ed8cdd3105fdf8d45ab2d695796238b.
* Evaluate aliases at runtime (#1456)Alessio Artoni2025-03-061-5/+5
|
* aliasrc | improve se() (#1433)Emre AKYÜZ2025-02-281-3/+4
| | | | | | | | | | | | | | | | | | | | | | | * 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
* shortcuts: export env vars for each shortcut (#1395)Kipras Melnikovas2024-07-151-1/+1
| | | | | | | | | | | 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 (#1327)appeasementPolitik2024-07-151-2/+1
| | | | | | | | | * 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
* Make shell profile POSIX, remove unnecessary variable fallbacks (#1368)thirtysix2023-11-151-14/+12
|
* nsxiv replaces unmaintained sxivLuke Smith2023-07-151-1/+1
|
* Set GOMODCACHE to comply with XDG (#1299)Mathieu Rollet2023-04-121-0/+1
| | | | If GOMODCACHE is not set, it defaults to $GOPATH/pkg/mod cf. https://go.dev/ref/mod#environment-variables
* customizable wttr/rate urls, sb-price improvementsLuke Smith2023-03-201-0/+4
|
* SQLite ~/ cleanup (#1283)HelionSmoker2023-02-231-0/+1
|
* other aliasesLuke Smith2023-02-171-1/+8
|
* Python ~/ cleanup (#1264)HelionSmoker2023-02-091-0/+1
|
* add TERMINAL_PROG variable (#1237)Amy2023-01-201-0/+1
| | | used in programs like `xtrace` (line 172 `/usr/bin/xtrace`)
* `.profile` cleanup: remove redundant variables and programs (#1221)i13e2022-10-311-25/+22
| | | | | | | | | | | | | | | | | | | | | * 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
* weatherreport is stored in cache (#1201)appeasementPolitik2022-10-021-1/+1
|
* Remove $LF_ICONS from profileIan Breckenridge2022-08-211-79/+0
|
* Merge branch 'master' of github.com:LukeSmithxyz/voidriceLuke Smith2022-08-031-1/+1
|\
| * Change brave to librewolf in shell profile (#1154)appeasementPolitik2022-08-031-1/+1
| |
* | shortcuts fixLuke Smith2022-08-031-2/+2
|/
* Restore startx command on boot (#1147)appeasementPolitik2022-07-201-0/+3
|
* samedir now sd, libxft-bgra message removedLuke Smith2022-07-192-11/+3
|
* Replace youtube-dl with yt-dlp system-wide (#1019)krisdoodle452022-03-291-1/+1
| | | | | | | | | | | * 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>
* colorize ip command (#1093)M.Zeinali2022-03-211-1/+2
|
* lf tweaks included ueberzug imagesLuke Smith2022-03-061-0/+1
|
* fix #936Luke Smith2022-01-211-1/+1
|
* sysact rewrite and minor stuff (#1000)Hekuran2021-09-231-1/+1
| | | | | | | | | | | * 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
* lapsus calami (#988)Hekuran2021-08-251-0/+1
| | | don't remove the whole thing, just sudo
* close #971Luke Smith2021-08-252-3/+2
|
* switch from yay to paruLuke Smith2021-06-261-1/+1
|
* fix #956Luke Smith2021-05-302-3/+4
|
* Paths fixed (#928)Alireza2021-04-061-1/+1
| | | | shortcutrc is created on shell directory with shortcuts script same for zshnameddirrc
* minor tweaks, electrum and mbsync to ~/.configLuke Smith2021-03-072-1/+7
|
* startx aliasLuke Smith2021-03-072-1/+5
|
* Deleted the .xinitrc link at $HOME for even a cleaner home directory.memreyagci2021-02-211-2/+2
| | | | | | 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
* clean upLuke Smith2021-02-071-1/+0
|
* Use find instead du for more efficient execution. (#880)ZaxonXP2021-01-131-1/+1
| | | 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) (#853)anntnzrb2020-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 : -`
* minor updatesLuke Smith2020-11-191-2/+11
|
* files moved to new correct namesLuke Smith2020-11-192-0/+0
|
* old stuff removedLuke Smith2020-11-165-0/+243
many files renamed, possible breakage