setup: revive nnn.sh setup script

Update READE, delete youbest shell alias
This commit is contained in:
FollieHiyuki 2021-06-05 22:00:25 +03:00
parent a1fdf46ce2
commit 1c0e61cb2f
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
8 changed files with 32 additions and 32 deletions

View File

@ -24,18 +24,17 @@
### :clipboard: TODO
- [ ] ~~[Material](https://material-theme.site/) / [Ayu](https://github.com/ayu-theme/ayu-colors) palette~~
- [ ] ~~[dotdrop](https://github.com/deadc0de6/dotdrop)~~
- [ ] ~~Additional palette: [Material](https://material-theme.site/) / [Ayu](https://github.com/ayu-theme/ayu-colors)~~
- [ ] ~~[dotdrop](https://github.com/deadc0de6/dotdrop)~~ / ~~Org Babel~~ / Ansible
- [x] Migrate zsh to [zinit](https://github.com/zdharma/zinit)
- [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
- [ ] New Neovim config in Lua
- [ ] Independent ~/.emacs.d
- [ ] [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
@ -52,4 +51,7 @@
- [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)
- Others are under MIT license
### :label: License
MIT

View File

@ -120,7 +120,7 @@ cp -rfv ./home/.config/nvim/ ~/.config/nvim/
cp -rfv ./home/.config/pipe-viewer/ ~/.config/pipe-viewer/
cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
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/translate-shell/ ~/.config/translate-shell/
# cp -rfv ./home/.config/tridactyl/ ~/.config/tridactyl/

View File

@ -408,8 +408,7 @@ alias rsyncdir="rsync -avP --delete-after"
# youtube-dl
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
alias youflac="youtube-dl --extract-audio --audio-format flac"
alias youbest="youtube-dl -f bestvideo+bestaudio"
alias youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
alias youlist="youtube-dl --yes-playlist"
# Lazy cd-ing
alias ..='cd ..'

View File

@ -38,8 +38,7 @@ abbr rsyncdir "rsync -avP --delete-after"
# youtube-dl
abbr yoump3 'youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail'
abbr youflac 'youtube-dl --extract-audio --audio-format flac'
abbr youbest 'youtube-dl -f bestvideo+bestaudio'
abbr youlist 'youtube-dl -f bestvideo+bestaudio --yes-playlist'
abbr youlist 'youtube-dl --yes-playlist'
# nnn
if command -v nnn >/dev/null
alias ncp="cat $XDG_CONFIG_HOME/nnn/.selection | tr '\0' '\n'"

View File

@ -77,21 +77,6 @@
}
]
},
"mangakakalot": {
"directory": [
"Manga",
"{manga}",
"c{chapter} - {title}"
],
"postprocessors": [
{
"name": "zip",
"compression": "store",
"extension": "cbz",
"keep-files": false
}
]
},
"manganelo": {
"directory": [
"Manga",

View File

@ -31,8 +31,7 @@ alias rsyncdir="rsync -avP --delete-after"
# youtube-dl
alias yoump3="youtube-dl --extract-audio --audio-format mp3 --embed-thumbnail"
alias youflac="youtube-dl --extract-audio --audio-format flac"
alias youbest="youtube-dl -f bestvideo+bestaudio"
alias youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
alias youlist="youtube-dl --yes-playlist"
# Lazy cd-ing
alias ..='cd ..'

View File

@ -11,7 +11,6 @@ abbr v="nvim"
abbr vi='nvim -o "$(fzf)"'
abbr e='emacs -nw'
abbr em="emacsclient -c -a 'emacs'"
abbr youbest="youtube-dl -f bestvideo+bestaudio"
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"

17
setup/nnn.sh Normal file
View 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 ..