- Be compatible on macOS and Linux
- Make work in a terminal as efficient as possible
- shell : zsh with prezto and powelevel10k prompt
- Automatic cd:
/usr
has the same effect ascd /usr
- Spelling correction:
cd /uzr<Tab>
is fixed tocd /usr
- Path expansion
cd /u/lo/b<Tab>
expands tocd /usr/local/bin
- Smarter completion for commands like
git
,ssh
- Recursive globbing
vim **/*.md
opens all markdown files in the current dir and descendants - Fish-like features: zsh-autosuggestions, zsh-syntax-highlighting, zsh-history-substring-search
- archive: add handy functions
archive
,unarchive
- directory: add
d
and1..9
to navigate through pushed directories. Also configuresAUTO_CD
,CDABLE_VARS
- editor: add
bindkey-all
to display bind keys - fasd: quick navigation through frecent files and directories. add
j
and,<Tab>
- history: add
history-stat
curl https://raw.githubusercontent.com/YannMoisan/dotfiles/master/scripts/setup | bash -s linux
shortcut | description |
---|---|
ctrl+b ? | help |
ctrl+b [pn] | prev/next window |
xset
: user preference utility for X (bip, DPMS)xset q
: display current settingsxprop
: property displayer for X (get window class for i3 config)xev
: print contents of X events (get keycodes for i3 config)xinput
: utility to configure and test X input devices (touchpad, …)xinput list
: list all the input devicesfc-list
: list available fonts
Prerequisites
- install brew and iterm2
- brew install git
- configure ssh keys in github
curl https://raw.githubusercontent.com/YannMoisan/dotfiles/master/scripts/setup | bash -s clone
curl https://raw.githubusercontent.com/YannMoisan/dotfiles/master/scripts/setup | bash -s git
curl https://raw.githubusercontent.com/YannMoisan/dotfiles/master/scripts/setup | bash -s zsh
Open a new tab in your terminal and p10k configuration will be launched automatically and will install Meslo fonts
generated from the CLI with dot -Tpng installation-order.dot -o installation-order.png
- prezto syncing a fork
- git remote add upstream https://github.com/sorin-ionescu/prezto
- git fetch upstream
- git merge upstream/master
- git submodule update --init --recursive
Failed to merge submodule modules/autosuggestions/external (commits don't follow merge-base)
CONFLICT (submodule): Merge conflict in modules/autosuggestions/external
❯ LANGUAGE=en_US.utf8 git submodule update
Skipping unmerged submodule modules/autosuggestions/external
- brew
- brew update
- brew upgrade
- vim plugins
- gws ff
- bat: Clone of cat(1) with syntax highlighting and Git integration
- ctop: Top-like interface for container metrics
- diff-so-fancy: Good-looking diffs with diff-highlight and more)
- exa: Modern replacement for 'ls' (so we don't need
.dircolors
anymore andtree
) - fd: Simple, fast and user-friendly alternative to find
- fzf: Command-line fuzzy finder written in Go
- gh: GitHub command-line tool. Replacement of hub
- git (install the brew version on Mac)
- glances: Alternative to top/htop
- gws: Manage workspaces composed of git repositories. Use to manage my VIM plugins.
- htop: Improved top (interactive process viewer)
- httpie: User-friendly cURL replacement (command-line HTTP client)
- iftop: Display an interface's bandwidth usage
- jq: Lightweight and flexible command-line JSON processor
- ncdu: NCurses Disk Usage
- ranger: File browser
- rename: Perl-powered file rename script with many helpful built-ins
- ripgrep: Search tool like grep and The Silver Searcher
- shellcheck: Static analysis and lint tool, for (ba)sh scripts
- tig: Text interface for Git repositories
- tldr: Simplified and community-driven man pages
- vim (install the brew version on Mac)
- vivid: a generator for the
LS_COLORS
environment variable - youtube-dl: Download YouTube videos from the command-line
- ammonite-repl
- coursier
- openjdk
- sbt
- scala
A script scripts/check
displays useful pieces of information to help you spot the issue.
- Kaze's dotfiles - My dotfiles are based on this awesome work !
- dotfiles.github.io - good to read if you want to store your dotfiles on github