mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2025-01-19 11:54:02 -05:00
setup: revive nnn.sh setup script
Update READE, delete youbest shell alias
This commit is contained in:
parent
372e4c208c
commit
f23b5abe65
14
README.md
14
README.md
@ -24,18 +24,17 @@
|
|||||||
|
|
||||||
### :clipboard: TODO
|
### :clipboard: TODO
|
||||||
|
|
||||||
- [ ] ~~[Material](https://material-theme.site/) / [Ayu](https://github.com/ayu-theme/ayu-colors) palette~~
|
- [ ] ~~Additional palette: [Material](https://material-theme.site/) / [Ayu](https://github.com/ayu-theme/ayu-colors)~~
|
||||||
- [ ] ~~[dotdrop](https://github.com/deadc0de6/dotdrop)~~
|
- [ ] ~~[dotdrop](https://github.com/deadc0de6/dotdrop)~~ / ~~Org Babel~~ / Ansible
|
||||||
- [x] Migrate zsh to [zinit](https://github.com/zdharma/zinit)
|
- [x] Migrate zsh to [zinit](https://github.com/zdharma/zinit)
|
||||||
- [x] Wayland compositors
|
- [x] Wayland compositors
|
||||||
- [ ] ~~ion~~ / oksh / nushell / oil / xonsh / ~~elvish~~ / oh
|
- [ ] ~~[ion](https://github.com/redox-os/ion)~~ / [oksh](https://github.com/ibara/oksh) / [nushell](https://www.nushell.sh/) / [oil](https://www.oilshell.org/) / [xonsh](https://xon.sh/) / ~~[elvish](https://elv.sh/)~~ / [oh](https://github.com/michaelmacinnis/oh)
|
||||||
- [ ] NixOS / Guix / Gentoo / FreeBSD
|
- [ ] NixOS / Guix / Gentoo / FreeBSD
|
||||||
- [ ] New Neovim config in Lua
|
- [ ] New Neovim config in Lua
|
||||||
- [ ] Independent ~/.emacs.d
|
- [ ] Independent ~/.emacs.d
|
||||||
- [ ] [kakoune](https://github.com/mawww/kakoune) / [lite-xl](https://github.com/franko/lite-xl)
|
- [ ] [kakoune](https://github.com/mawww/kakoune) / [lite-xl](https://github.com/franko/lite-xl)
|
||||||
- [ ] ~~Org Babel~~ / Ansible
|
|
||||||
|
|
||||||
### :star2: Credits & License
|
### :star2: Credits
|
||||||
|
|
||||||
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s Neovim config
|
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s Neovim config
|
||||||
|
|
||||||
@ -52,4 +51,7 @@
|
|||||||
- [some fzf scripts](https://github.com/DanielFGray/fzf-scripts)
|
- [some fzf scripts](https://github.com/DanielFGray/fzf-scripts)
|
||||||
|
|
||||||
- Artists for **kawaii** wallpapers: [@rimuu](https://rimuu.com/), [@hiten](https://www.pixiv.net/users/490219/artworks), [@Tiv](https://www.pixiv.net/en/users/35081), [@mery](https://www.pixiv.net/en/users/2750098), [@Mashima_saki](https://www.pixiv.net/en/users/18403608), [@Yuuki_Tatsuya](https://www.pixiv.net/en/users/27691), [@Bison倉鼠](https://www.pixiv.net/en/users/333556/artworks), [@Dana](https://twitter.com/hapong07), [@gomzi](https://twitter.com/gcmzi), [@Rella](https://twitter.com/Rellakinoko), [@dnwls3010](https://twitter.com/dnwls3010), [@Shigure_Ui](https://www.pixiv.net/en/users/431873), [@QuAn_](https://www.pixiv.net/en/users/6657532/artworks), [@杉87](https://twitter.com/k_su_keke1121), [@fuzichoco](https://twitter.com/fuzichoco), [@Astero](https://twitter.com/asteroid_ill), [@shin556](https://www.pixiv.net/en/users/642762), [@kaynimatic](https://twitter.com/kaynimatic)
|
- Artists for **kawaii** wallpapers: [@rimuu](https://rimuu.com/), [@hiten](https://www.pixiv.net/users/490219/artworks), [@Tiv](https://www.pixiv.net/en/users/35081), [@mery](https://www.pixiv.net/en/users/2750098), [@Mashima_saki](https://www.pixiv.net/en/users/18403608), [@Yuuki_Tatsuya](https://www.pixiv.net/en/users/27691), [@Bison倉鼠](https://www.pixiv.net/en/users/333556/artworks), [@Dana](https://twitter.com/hapong07), [@gomzi](https://twitter.com/gcmzi), [@Rella](https://twitter.com/Rellakinoko), [@dnwls3010](https://twitter.com/dnwls3010), [@Shigure_Ui](https://www.pixiv.net/en/users/431873), [@QuAn_](https://www.pixiv.net/en/users/6657532/artworks), [@杉87](https://twitter.com/k_su_keke1121), [@fuzichoco](https://twitter.com/fuzichoco), [@Astero](https://twitter.com/asteroid_ill), [@shin556](https://www.pixiv.net/en/users/642762), [@kaynimatic](https://twitter.com/kaynimatic)
|
||||||
- Others are under MIT license
|
|
||||||
|
### :label: License
|
||||||
|
|
||||||
|
MIT
|
||||||
|
@ -120,7 +120,7 @@ cp -rfv ./home/.config/nvim/ ~/.config/nvim/
|
|||||||
cp -rfv ./home/.config/pipe-viewer/ ~/.config/pipe-viewer/
|
cp -rfv ./home/.config/pipe-viewer/ ~/.config/pipe-viewer/
|
||||||
cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
|
cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
|
||||||
cp -rfv ./home/.config/ranger/ ~/.config/ranger/
|
cp -rfv ./home/.config/ranger/ ~/.config/ranger/
|
||||||
cp -rfv ./home/.config/tg/ ~/.config/tg/
|
# cp -rfv ./home/.config/tg/ ~/.config/tg/
|
||||||
cp -rfv ./home/.config/tmux/ ~/.config/tmux/
|
cp -rfv ./home/.config/tmux/ ~/.config/tmux/
|
||||||
cp -rfv ./home/.config/translate-shell/ ~/.config/translate-shell/
|
cp -rfv ./home/.config/translate-shell/ ~/.config/translate-shell/
|
||||||
# cp -rfv ./home/.config/tridactyl/ ~/.config/tridactyl/
|
# cp -rfv ./home/.config/tridactyl/ ~/.config/tridactyl/
|
||||||
|
@ -408,8 +408,7 @@ alias rsyncdir="rsync -avP --delete-after"
|
|||||||
# youtube-dl
|
# youtube-dl
|
||||||
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
||||||
alias youflac="youtube-dl --extract-audio --audio-format flac"
|
alias youflac="youtube-dl --extract-audio --audio-format flac"
|
||||||
alias youbest="youtube-dl -f bestvideo+bestaudio"
|
alias youlist="youtube-dl --yes-playlist"
|
||||||
alias youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
|
|
||||||
|
|
||||||
# Lazy cd-ing
|
# Lazy cd-ing
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
@ -38,8 +38,7 @@ abbr rsyncdir "rsync -avP --delete-after"
|
|||||||
# youtube-dl
|
# youtube-dl
|
||||||
abbr yoump3 'youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail'
|
abbr yoump3 'youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail'
|
||||||
abbr youflac 'youtube-dl --extract-audio --audio-format flac'
|
abbr youflac 'youtube-dl --extract-audio --audio-format flac'
|
||||||
abbr youbest 'youtube-dl -f bestvideo+bestaudio'
|
abbr youlist 'youtube-dl --yes-playlist'
|
||||||
abbr youlist 'youtube-dl -f bestvideo+bestaudio --yes-playlist'
|
|
||||||
# nnn
|
# nnn
|
||||||
if command -v nnn >/dev/null
|
if command -v nnn >/dev/null
|
||||||
alias ncp="cat $XDG_CONFIG_HOME/nnn/.selection | tr '\0' '\n'"
|
alias ncp="cat $XDG_CONFIG_HOME/nnn/.selection | tr '\0' '\n'"
|
||||||
|
@ -77,21 +77,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mangakakalot": {
|
|
||||||
"directory": [
|
|
||||||
"Manga",
|
|
||||||
"{manga}",
|
|
||||||
"c{chapter} - {title}"
|
|
||||||
],
|
|
||||||
"postprocessors": [
|
|
||||||
{
|
|
||||||
"name": "zip",
|
|
||||||
"compression": "store",
|
|
||||||
"extension": "cbz",
|
|
||||||
"keep-files": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"manganelo": {
|
"manganelo": {
|
||||||
"directory": [
|
"directory": [
|
||||||
"Manga",
|
"Manga",
|
||||||
|
@ -31,8 +31,7 @@ alias rsyncdir="rsync -avP --delete-after"
|
|||||||
# youtube-dl
|
# youtube-dl
|
||||||
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
||||||
alias youflac="youtube-dl --extract-audio --audio-format flac"
|
alias youflac="youtube-dl --extract-audio --audio-format flac"
|
||||||
alias youbest="youtube-dl -f bestvideo+bestaudio"
|
alias youlist="youtube-dl --yes-playlist"
|
||||||
alias youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
|
|
||||||
|
|
||||||
# Lazy cd-ing
|
# Lazy cd-ing
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
@ -11,7 +11,6 @@ abbr v="nvim"
|
|||||||
abbr vi='nvim -o "$(fzf)"'
|
abbr vi='nvim -o "$(fzf)"'
|
||||||
abbr e='emacs -nw'
|
abbr e='emacs -nw'
|
||||||
abbr em="emacsclient -c -a 'emacs'"
|
abbr em="emacsclient -c -a 'emacs'"
|
||||||
abbr youbest="youtube-dl -f bestvideo+bestaudio"
|
|
||||||
abbr youflac="youtube-dl --extract-audio --audio-format flac"
|
abbr youflac="youtube-dl --extract-audio --audio-format flac"
|
||||||
abbr youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
|
abbr youlist="youtube-dl --yes-playlist"
|
||||||
abbr yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
abbr yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
|
||||||
|
17
setup/nnn.sh
Normal file
17
setup/nnn.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
# Needs musl-fts, ncurses
|
||||||
|
|
||||||
|
git clone https://github.com/FollieHiyuki/nnn.git
|
||||||
|
cd nnn
|
||||||
|
|
||||||
|
export LDLIBS=-lfts
|
||||||
|
|
||||||
|
if command -v doas >/dev/null
|
||||||
|
then
|
||||||
|
doas -- make O_NERD=1 O_NOBATCH=1 O_GITSTATUS=1 PREFIX=/usr install
|
||||||
|
else
|
||||||
|
sudo make O_NERD=1 O_NOBATCH=1 O_GITSTATUS=1 PREFIX=/usr install
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ..
|
Loading…
Reference in New Issue
Block a user