Skip to content

Instantly share code, notes, and snippets.

@thkprado
Last active March 14, 2020 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thkprado/1a20036d4f494037343300f57377f294 to your computer and use it in GitHub Desktop.
Save thkprado/1a20036d4f494037343300f57377f294 to your computer and use it in GitHub Desktop.
exa:
description: A modern version of ‘ls’.
urls:
- https://github.com/ogham/exa
- https://the.exa.website/
install:
package managers: https://the.exa.website/#installation
cargo: cargo install exa
.bashrc: |
alias ls='exa'
alias l='ls -l'
alias ll='ls -lF --git --icons'
alias la='ls -a'
alias lla='ls -laF --git --icons'
alias lt='ls --tree'
fzf & fd:
fzf:
description: A command-line fuzzy finder
url: https://github.com/junegunn/fzf
install:
package managers: https://github.com/junegunn/fzf#using-linux-package-managers
git:
script: |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
update: cd ~/.fzf && git pull && ./install
fd:
description: A simple, fast and user-friendly alternative to 'find'
url: https://github.com/sharkdp/fd
install:
package managers: https://github.com/sharkdp/fd#installation
.bashrc: |
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
#[ -f /usr/share/fzf/key-bindings.bash ] && source /usr/share/fzf/key-bindings.bash
export FZF_DEFAULT_COMMAND='fd --follow --hidden --exclude .git --color=always'
export FZF_DEFAULT_OPTS="--ansi"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
xdg-open:
description: opens a file or URL in the user's preferred application
install: sudo apt-get install xdg-utils
ripgrep:
description: ripgrep recursively searches directories for a regex pattern
url: https://github.com/BurntSushi/ripgrep
install: https://github.com/BurntSushi/ripgrep#installation
rga (ripgrep-all):
description: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
url: https://github.com/phiresky/ripgrep-all
install: |
(install rustup/cargo and ripgrep)
apt install build-essential pandoc poppler-utils ffmpeg
cargo install ripgrep_all
nerd-fonts:
description: Iconic font aggregator, collection, & patcher.
urls:
- https://github.com/ryanoasis/nerd-fonts
- https://www.nerdfonts.com/
DroidSansMono Nerd Font Book: good for small screens or font sizes
Install:
- https://wiki.archlinux.org/index.php/Fonts#Manual_installation
- To install fonts for only a single user, use ~/.local/share/fonts/
- To install fonts system-wide (available for all users), move the
folder to the /usr/share/fonts directory. The files need to be
readable by every user, use chmod to set the correct permissions
(i.e. at least 0444 for files and 0555 for directories).
- You need sometimes to restart a application or run fc-cache
VSCode:
"editor.fontFamily": "'DroidSansMono Nerd Font Mono', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'"
"terminal.integrated.fontFamily": "DroidSansMono Nerd Font Mono"
Sublime Text:
"font_face": "DroidSansMono Nerd Font Mono"
zoxide:
description: A fast cd command that learns your habits
url: https://github.com/ajeetdsouza/zoxide
install:
cargo: cargo install zoxide -f
bash:
Add the following line to your ~/.bashrc:
eval "$(zoxide init bash)"
topgrade:
description: Upgrade everything
url: https://github.com/r-darwish/topgrade
install: cargo install topgrade
bat:
description: A cat(1) clone with wings.
urls: https://github.com/sharkdp/bat#installation
osquery:
description: SQL powered operating system instrumentation, monitoring, and analytics.
urls:
- https://github.com/osquery/osquery
- https://osquery.io/
install:
- sudo apt install libc++abi-dev libc++-dev
- https://github.com/osquery/osquery/releases
- https://osquery.io/downloads
- arch linux: https://aur.archlinux.org/packages/osquery-git/
yay (arch linux):
description: Yet another Yogurt - An AUR Helper written in Go
url: https://github.com/Jguer/yay
install: |
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment