mkdir -p ~/Projects
cd ~/Projects
git clone https://github.com/dot-star/dot-star.git
cd dot-star
./install.sh
$ rm *
cowardly refusing to run `rm' with a dangerous wildcard
$ while :; do wd; phpunit MyTest.php; done
$ jq api_response.json
(opens an interactive fzf window for debugging a jq filter)
$ list
(opens an interactive fzf stash preview window for viewing git stashes in the current repository)
$ pop
(opens an interactive fzf stash preview window for selecting a git stash to apply)
$ diff_strings_like_files "foo" "foobar"
-foo
+foobar
$ mv download.jpg
the-lorax.jpg
-download.jpg
+the-lorax.jpg
$ l
$ t
$ d
$ d before.txt after.txt
$ pwd | clipboard
$ pwd | clip
$ cat file.txt | c
$ addp
$ 644 myfile.txt
$ 400 ~/.ssh/id_rsa
$ ..
$ ...
$ ....
$ .....
$ ......
$ b script.py
'script.py' -> 'script_2018-06-16_000000.py'
$ b project/
'project' -> 'project_2018-06-16_000000'
'project/README.md' -> 'project_2018-06-16_000000/README.md'
$ f filter
Searching paths and filenames containing "*filter*":
./admin/static/admin/js/SelectFilter2.js
./admin/templates/admin/filter.html
./admin/filters.py
./admindocs/templates/admin_doc/template_filter_index.html
$ s
git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
$ difflast
$ log
$ list
stash@{0}: On master: work in progress
$ show 0
$ pull
$ pwd
/Users/user/.dot-star/vim/color
$ r
$ pwd
/Users/user/.dot-star
$ oo
$ s "admin.ModelAdmin"
./admin.py:26:class GroupAdmin(admin.ModelAdmin):
./admin.py:41:class UserAdmin(admin.ModelAdmin):
$ se "admin.ModelAdmin"
(file admin.py contains search keyword and is opened)
$ ss keyword
$ file "Out of it All by Helen Jane Long.mp3"
Out of it All by Helen Jane Long.mp3: Audio file with ID3 version 2.4.0, contains:MPEG ADTS, layer III, v2, 160 kbps, 22.05 kHz, Monaural (4,832,126 bytes)
0:04:38
$ dotstar
$ ./update.sh
The installation and update may be run repeatedly. Neither action will remove nor overwrite files outside the dotstar directory.
- Mac
- Ubuntu
There should be one-- and preferably only one --command to do it.