docs: qubes
This commit is contained in:
parent
4902e24069
commit
b4e16e78b0
37
.README.md
37
.README.md
@ -134,7 +134,8 @@ skelfiles checkout
|
||||
### Useful Commands
|
||||
|
||||
- List all tracked files (from CWD):
|
||||
`dotfiles ls-tree --name-only -rz main | xargs -0 $(whence lsd) -lU`
|
||||
`dotfiles ls-tree --name-only -rz HEAD | xargs -0 $(whence lsd) -lU`
|
||||
`--color always | fzf --multi --height=~100 --exact`
|
||||
|
||||
### Other Tools
|
||||
|
||||
@ -252,7 +253,8 @@ fc-cache -fv /opt/fonts
|
||||
```sh
|
||||
sudo apt install kitty-terminfo
|
||||
# OR:
|
||||
wget 'https://salsa.debian.org/debian/kitty/-/raw/debian/sid/terminfo/x/xterm-kitty
|
||||
wget 'https://salsa.debian.org/debian/kitty/-/raw/debian/sid/terminfo/x/xterm-kitty'
|
||||
sudo cp xterm-kitty /usr/share/terminfo/x
|
||||
```
|
||||
|
||||
### Install
|
||||
@ -271,6 +273,7 @@ sudo apt install kitty
|
||||
sh ~/.config/kitty/installer.sh
|
||||
|
||||
# In /opt/kitty.app
|
||||
# Insert Proxy export at top of installer
|
||||
sudo sh ~/.config/kitty/installer.sh launch=n dest=/opt
|
||||
sudo update-alternatives \
|
||||
--install /usr/bin/x-terminal-emulator \
|
||||
@ -309,9 +312,6 @@ go install
|
||||
### Binary Releases
|
||||
|
||||
```sh
|
||||
mkdir -p /opt/lazygit/bin
|
||||
cd /opt/lazygit/bin
|
||||
|
||||
URI=https://api.github.com/repos/jesseduffield/lazygit
|
||||
LOCATION=$(curl -s $URI/releases/latest \
|
||||
| grep "browser_download_url.*Linux_x86_64" \
|
||||
@ -319,9 +319,11 @@ LOCATION=$(curl -s $URI/releases/latest \
|
||||
| sed 's/,$//' \
|
||||
| sed 's/"//g')
|
||||
echo $LOCATION
|
||||
|
||||
wget $LOCATION
|
||||
tar xf *.tar.gz(om[1])
|
||||
|
||||
sudo mkdir -p /opt/lazygit/bin
|
||||
cd /opt/lazygit/bin
|
||||
sudo tar xf ${OLDPWD}/*.tar.gz(om[1])
|
||||
```
|
||||
|
||||
### From Go Package
|
||||
@ -353,11 +355,11 @@ commit=, build date=, build source=unknown, version=unversioned, os=linux, arch=
|
||||
mkdir -p $HOME/.local/bin
|
||||
cd $HOME/.local/bin
|
||||
# ---
|
||||
mkdir -p /opt/neovim/bin
|
||||
sudo mkdir -p /opt/neovim/bin
|
||||
cd /opt/neovim/bin
|
||||
|
||||
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod u+x nvim.appimage
|
||||
sudo =curl-proxy -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod ugo+x nvim.appimage
|
||||
ln -sf nvim.appimage nvim
|
||||
ln -sf nvim.appimage vi
|
||||
|
||||
@ -366,7 +368,7 @@ nvim --version
|
||||
vi --version
|
||||
```
|
||||
|
||||
### flatpak
|
||||
### flatpak (unverified)
|
||||
|
||||
```sh
|
||||
flatpak install flathub io.neovim.nvim
|
||||
@ -396,27 +398,22 @@ flatpak install flathub io.neovim.nvim
|
||||
### From source
|
||||
|
||||
```sh
|
||||
# From release
|
||||
URI=https://github.com/jarun/nnn
|
||||
xdg-open $URI/releases/latest
|
||||
ARCHIVE=$(echo $HOME/Downloads/*.gz(om[1])) && echo $ARCHIVE
|
||||
tar xf $ARCHIVE
|
||||
|
||||
# From repository
|
||||
mkdir -p ~/dev; cd ~/dev
|
||||
git clone https://github.com/jarun/nnn.git
|
||||
|
||||
# Compile
|
||||
cd nnn*(om[1])
|
||||
cd nnn
|
||||
make clean
|
||||
|
||||
sudo make O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
||||
sudo make PREFIX=/opt/nnn O_GITSTATUS=1 O_NAMEFIRST=1 O_NERD=1 install
|
||||
|
||||
sudo cp -v misc/auto-completion/zsh/* /usr/local/share/zsh/site-functions
|
||||
sudo chmod a+r /usr/local/share/zsh/site-functions/*
|
||||
sudo chmod -v a+r /usr/local/share/zsh/site-functions/*
|
||||
|
||||
# Plugins
|
||||
mv -v ~/.config/nnn/plugins plugins_$(stat -c %Y ~/.config/nnn/plugins)
|
||||
mv -v ~/.config/nnn/plugins $HOME/nnn_plugins_$(stat -c %Y ~/.config/nnn/plugins)
|
||||
mkdir -p ~/.config/nnn
|
||||
cp -av plugins ~/.config/nnn
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user