Intermediate10 min
Import from dotfiles and notes
Bring commands in from shell scripts, JSON, or .bashrc.
01Import from a shell script
Create a file my-commands.sh with comments as names:
# git-log# tags: gitgit log --oneline -10# docker-node# tags: docker,nodedocker run -it --rm -v $(pwd):/app node:20 bashrecall import my-commands.sh✔ Imported: git-log✔ Imported: docker-node 2 imported 0 skipped 0 failed02Import from JSON
[ { "command": "git log --oneline -10", "name": "git-log", "tags": ["git"] }, { "command": "docker ps -a", "name": "docker-ps", "tags": ["docker"] }]recall import commands.json03Migrate from .bashrc aliases
# Your .bashrc might have:alias gs='git status'alias glog='git log --oneline -10'recall save "git status" --name git-status --tags git# Free: create alias gs → git-status in VS Code → Aliases# (or edit ~/.recall/aliases.json)# Pro: recall alias set gs git-status# Then: recall run gs (same idea as your old shell alias)04Save gradually as you use them
# Just ran a useful command? Save it immediately.recall save "kubectl get pods --all-namespaces" --name kube-pods --tags k8sAfter a week of natural use, you'll have your most valuable commands saved.
Backup your vault
# Free: copy the whole local vaultcp -r ~/.recall ~/Desktop/recall-backup# Pro: cloud export after loginrecall auth login && recall export --format json --output backup.json