TAM, guide of features & smart tricks.
Current version is 9.1.3. So, Dear User, let's dive into..
Install TAM.
cargo install sark0y_tam_rst
Run TAM.
fish> nano ~/.fishrc
alias tam.rst='sark0y_tam_rst -find-files -path /path/to/dir -cols 3 -rows 9 -in-name \'pass==-iE \w\' -view-w "flatpak run info.smplayer.SMPlayer" -view-w "smplayer" -view-w "gwenview" -dont-exit $argv'
bash> nano ~/.bashrc
alias tam.rst='sark0y_tam_rst -find-files -path /path/to/dir -cols 3 -rows 9 -in-name "pass==-iE \w" -view-w "flatpak run info.smplayer.SMPlayer" -view-w "smplayer" -view-w "gwenview" -dont-exit $@'
So, now it's possible just..
> tam.rst
Some terminology..
Actually, TAM provides commands & subcommands: for shorter notation, c{...} is a command; s{...} is a subcommand + we have hotkeys {UpArrow}, {DownArrow}, {Insert} etc. If a context is known for sure - just use {...}. For instance, c{sieve ...} == {sieve ...}.
The very Paradigm of TAM.
TAM makes & operates lists to establish ultimately ergonomic Environment. There are lists of files o/a commands.
Practice with TAM.
Check out the Readme (https://github.com/SarK0Y/TAM_RUSTy) to learn how to deal with files. Here & now we're more focusing on Console/Terminal's tasks. Some commands too frequent to write them each time. For instance, let's make templates of git commands..
> tam.rst
{mke lst git.history} makes empty list.
{edit lst} opens this list in Nano.
Now, let's write stuff in..
term cp -fv ../src/* ./src/; cp -fv ../README.md ./; cp -fv ../Cargo.toml ./; cp -vf ../LICENSE ./
term git add src/* Cargo.toml README.md LICENSE
term git commit -m "v 3.0.2" -m ""
term git switch pre-workable
term git switch not_tested_func
term git switch trunk
term git push -u
term cargo clean;cargo publish
term git log
term git reset --hard HEAD
term git checkout commit_hash
term git commit --amend -m ""
term git rm Cargo.lockterm git commit -m "v 3.0.2" -m "corrections & optimizations."
If You don't see list's content correctly - run {mk uid} to update list in cache. So, now You can use shols (short links) to type command: {##0}{Space} unwraps into term cp -fv ../src/* ./src/; cp -fv ../README.md ./; cp -fv ../Cargo.toml ./; cp -vf ../LICENSE ./ & now just {Enter} to run that command as-is. And here we go to commit stuff, {##13}{Space} == term git commit -m "v 3.0.2" -m "corrections & optimizations."
Comments
Post a Comment