Tran Hau 2020-05-07 01:38:17 +07:00
parent e329d6b3e7
commit 2386191bb6
12 changed files with 58 additions and 126 deletions

View File

@ -2,23 +2,42 @@
[Neovim](neovim.md): like `vim`.
[git](git.md)
[tmux](tmux.md)
[bat](https://github.com/sharkdp/bat): `cat` with colors.
[fd](https://github.com/sharkdp/fd): simple `find`.
[fzf](https://github.com/junegunn/fzf): command-line finder.
[fzf](fzf.md): command-line finder.
Read [fzf](https://wiki.archlinux.org/index.php/Fzf).
[diff-so-fancy](https://github.com/so-fancy/diff-so-fancy): `diff` with human readable.
```sh
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
```
[exa](https://github.com/ogham/exa): `ls` replacement.
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
[HTTPie](https://httpie.org/): call API in terminal.
[HTTPie](https://httpie.org/): call API.
[rsync](rsync.md)
[Rclone](https://rclone.org/): `rsync` for cloud storage.
[Prettier](https://prettier.io/): format code.
---
[Flatpak and Snap](flatpak-snap.md)
[systemd-boot](systemd-boot.md)
[blueman](https://github.com/blueman-project/blueman)
[DNSCrypt](dnscrypt.md)
[OpenVPN](openvpn.md)
[Instaloader](instaloader.md)
[Cheat](cheat.md)

View File

@ -1,11 +0,0 @@
# AUR
AUR is [Arch User Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository).
## Install
Clone aur package and install:
```sh
makepkg -sric
```

View File

@ -1,15 +0,0 @@
# Bluetooth
Assume you use Archlinux.
Read [Bluetooth](https://wiki.archlinux.org/index.php/Bluetooth).
Start/enable service:
```sh
systemctl start bluetooth.service
systemctl enable bluetooth.service
```
GUI: use [blueman](https://github.com/blueman-project/blueman)

View File

@ -1,25 +0,0 @@
# fish
Read [fish](https://wiki.archlinux.org/index.php/fish).
## Configuration
Web interface:
```sh
fish_config
```
Command completion, require [man page](https://wiki.archlinux.org/index.php/Man_page):
```sh
fish_update_completions
```
## Tips and tricks
Disable greeting:
```sh
set -U fish_greeting
```

View File

@ -1,25 +0,0 @@
# fwupd
Assume you use Archlinux.
Read [fwupd](https://wiki.archlinux.org/index.php/Fwupd).
Install `fwupd`, `gnome-firmware` for GUI.
Download the latest metadata:
```sh
fwupdmgr refresh
```
List updates available:
```sh
fwupdmgr get-updates
```
Install updates:
```sh
fwupdmgr update
```

13
Applications/fzf.md Normal file
View File

@ -0,0 +1,13 @@
# [fzf](https://wiki.archlinux.org/index.php/Fzf)
Add to `~/.bashrc`:
```bash
[[ -f /usr/share/fzf/key-bindings.bash ]] && \
source /usr/share/fzf/key-bindings.bash
[[ -f /usr/share/fzf/completion.bash ]] && \
source /usr/share/fzf/completion.bash
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
```

View File

@ -1,14 +0,0 @@
# iwd
Assume you use Archlinux.
Read [iwd](https://wiki.archlinux.org/index.php/Iwd).
Read [NetworkManager: Using iwd as the Wi-Fi backend](https://wiki.archlinux.org/index.php/NetworkManager#Using_iwd_as_the_Wi-Fi_backend).
Edit `/etc/NetworkManager/conf.d/wifi_backend.conf`:
```txt
[device]
wifi.backend=iwd
```

View File

@ -2,6 +2,6 @@
Add to `~/.bashrc`:
```sh
```bash
export EDITOR=nvim
```

View File

@ -1,19 +0,0 @@
# pacman
Assume you use Archlinux.
Read [pacman](https://wiki.archlinux.org/index.php/pacman).
Uncomment or add if not exist options in `/etc/pacman.conf`:
```txt
# Misc options
Color
ILoveCandy
```
Upgrading packages:
```sh
sudo pacman -Syu
```

View File

@ -1,9 +0,0 @@
# Piper
> Piper is a GTK+ application to configure gaming mice.
Assume you use Archlinux.
[Supported Devices](https://github.com/libratbag/libratbag/tree/master/data/devices).
Install [piper](https://www.archlinux.org/packages/community/any/piper/).

View File

@ -117,6 +117,24 @@ Read [Fonts](https://wiki.archlinux.org/index.php/Fonts).
## [List of applications](https://wiki.archlinux.org/index.php/List_of_applications)
### [pacman](https://wiki.archlinux.org/index.php/pacman)
Uncomment or add if not exist options in `/etc/pacman.conf`:
```txt
# Misc options
Color
ILoveCandy
```
### [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository)
Install AUR package:
```sh
makepkg -sric
```
## In the end
This guide is updated regularly I promise.