Emre AKYÜZ e2d787992e
aliasrc | improve se() (#1433)
* 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
2025-02-28 19:11:57 +00:00
2025-02-28 19:11:57 +00:00
2025-02-28 15:05:56 +00:00
2022-03-11 18:32:19 -05:00
2020-11-16 18:06:41 -05:00
2020-11-16 18:06:41 -05:00
2021-03-07 15:07:41 -05:00
2018-08-02 00:29:58 -04:00
2023-07-15 18:57:12 +02:00

The Voidrice (Luke Smith https://lukesmith.xyz's dotfiles)

These are the dotfiles deployed by LARBS and as seen on my YouTube channel.

  • Very useful scripts are in ~/.local/bin/
  • Settings for:
    • vim/nvim (text editor)
    • zsh (shell)
    • lf (file manager)
    • mpd/ncmpcpp (music)
    • nsxiv (image/gif viewer)
    • mpv (video player)
    • other stuff like xdg default programs, inputrc and more, etc.
  • I try to minimize what's directly in ~ so:
    • All configs that can be in ~/.config/ are.
    • Some environmental variables have been set in ~/.zprofile to move configs into ~/.config/
  • Bookmarks in text files used by various scripts (like ~/.local/bin/shortcuts)
    • File bookmarks in ~/.config/shell/bm-files
    • Directory bookmarks in ~/.config/shell/bm-dirs

Usage

These dotfiles are intended to go with numerous suckless programs I use:

I also recommend trying out mutt-wizard, which additionally works with this setup. It gives you an easy-to-install terminal-based email client regardless of your email provider. It is integrated into these dotfiles as well.

Install these dotfiles and all dependencies

Use LARBS to autoinstall everything:

curl -LO larbs.xyz/larbs.sh

or clone the repo files directly to your home directory and install the dependencies.

Default Desktop Artwork

Thomas Thiemeyer's The Road to Samarkand (fb, insta, shop)

Description
No description provided
Readme GPL-3.0 94 MiB
Languages
Shell 92.8%
Vim Script 5.3%
JavaScript 1.5%
Perl 0.2%
Lua 0.2%