Awesome
.dotfiles
My configuration for various tools.
Usage
cd ~
git clone http://github.com/dufferzafar/dotfiles .dotfiles
cd .dotfiles
git submodule update --init --recursive
sudo bash bootstrap.sh
Keyboard Shortcuts
Mostly for my reference
- fzf:
Ctrl + R
: Reverse search command historyCtrl + P
: File list with preview paneAlt + G
: Git commit graph / list
Todo
-
An alias that reminds me of some aliases
- Suggest a random alias
-
~/.spcrc
- My config files for supercat
- Python Tracebacks
- My config files for supercat
-
firefox
userChrome.css
etc.- ShadowFox
- A script that can backup extensions
~/.mozilla/firefox/*.default/addons.json
-
fzf
-
Ctrl + P could use the scope.sh script from ranger
-
Move $PATH etc to .zshenv ?
alias j="cd (cat ~/Library/autojump/autojump.txt | sort -nr | awk '{print \$2}' | fzf +s)"
-
Slow load times
- https://github.com/junegunn/fzf/wiki/examples
- https://carlosbecker.com/posts/speeding-up-zsh
- https://kev.inburke.com/kevin/profiling-zsh-startup-time
- https://bennycwong.github.io/post/speeding-up-oh-my-zsh
- https://github.com/xcv58/prezto/tree/master/modules/lazy-load
- https://superuser.com/questions/236953/zsh-starts-incredibly-slowly
- http://blog.santosvelasco.com/2011/04/22/improving-oh-my-zsh-startup-time
- http://blog.patshead.com/2011/04/improve-your-oh-my-zsh-startup-time-maybe.html
-
-
tigrc
-
mpv configurations & scripts
- https://github.com/TheAMM/mpv_crop_script/releases
- https://github.com/TheAMM/mpv_thumbnail_script/releases
- https://github.com/jonniek/mpv-scripts/blob/master/appendURL.lua
- https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua
- https://github.com/zc62/mpv-scripts/blob/master/autoloop.lua
- https://github.com/mpv-player/mpv/issues/4738#issuecomment-321298846
-
Terminator Config File
- ~/.config/terminator/config
-
LazyLoad zsh subscripts like gvm, rvm, nvm
-
Make
gio
work offline- cache responses in ~/.cache/gio ?
- when connected to internet prefer online stuff
-
Will the hub completion script need to be updated? How?
-
Vim
- ~/.vim/ftdetect/markdown.md
- au BufNewFile,BufRead *.md setf markdown
-
Perform cleanup, test etc.
-
Add a way to uninstall!
-
Use
antigen
to load oh-my-zsh stuff- use zsh profiling to see where the bottleneck is
- and see if it makes sense to switch to antigen
-
Better history
- https://github.com/larkery/zsh-histdb
- Stores everything in a
-
Lazy load npm/rvm/gvm commands
- As soon as a command like
npm
etc are run, the corresponding shell file gets loaded - Still keep the manual loading functions around though
- As soon as a command like
https://github.com/aziz/dotfiles/blob/master/templates/provisioning/ubuntu/fonts.sh
- A command that forgets zsh histories
- Beginning with something
Prompt
Faster loading
-
https://carlosbecker.com/posts/speeding-up-zsh/
-
zsh -i -c -x exit
- Large debug log
- Issues found
- Completions for commands that I don't even use
-
Pull requests
-
rbenv, pyenv etc
-
Remove some if statements?
-
Replace multiple export PATH calls with one?
-
Recurring Tasks
-
Merge with latest ranger configuration
-
Prune zsh history
-
Do not delete any thing
- Just move it to a separate file?
-
Remove personal stuff?
-
Commands with URLs?
-
Commands that are seldom used?
-
^subl *
-
^youtube-dl *
-
Commands
sed -i '/string/d' .bash_history
grep -vf wordsToExcludeFile myfile.txt
- https://unix.stackexchange.com/questions/241623/delete-row-if-two-patterns-are-found-in-the-same-line
-
Issues
- The server doesn't have a gnome-keyring-handler
- It doesn't even need sublime, nautilus stuff!