{"id":26234767,"url":"https://github.com/dynamotn/fish-caran","last_synced_at":"2026-04-12T08:32:32.913Z","repository":{"id":169431353,"uuid":"603733503","full_name":"dynamotn/fish-caran","owner":"dynamotn","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-10T08:28:36.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-10T09:39:01.399Z","etag":null,"topics":["caran","fish","fish-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dynamotn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-19T12:24:31.000Z","updated_at":"2025-03-10T08:28:40.000Z","dependencies_parsed_at":"2024-02-18T23:29:55.420Z","dependency_job_id":"993dc5e6-75bb-4038-9522-9b200666384c","html_url":"https://github.com/dynamotn/fish-caran","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"5ff4957daf624ff75fa900a9e056a3cc387c66ad"},"previous_names":["dynamo-make-color/fish-caran","dynamotn/fish-caran"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Ffish-caran","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Ffish-caran/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Ffish-caran/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dynamotn%2Ffish-caran/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dynamotn","download_url":"https://codeload.github.com/dynamotn/fish-caran/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243327248,"owners_count":20273637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caran","fish","fish-plugin"],"created_at":"2025-03-13T02:28:44.573Z","updated_at":"2025-12-25T08:53:37.609Z","avatar_url":"https://github.com/dynamotn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n### caran\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://github.com/dynamo-make-color/fish-caran/stargazers\"\u003e\n  \u003cimg alt=\"Stargazers\" src=\"https://img.shields.io/github/stars/dynamo-make-color/fish-caran?style=for-the-badge\u0026logo=starship\u0026color=C9CBFF\u0026logoColor=D9E0EE\u0026labelColor=302D41\"\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/dynamo-make-color/fish-caran/issues\"\u003e\n  \u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/dynamo-make-color/fish-caran?style=for-the-badge\u0026logo=gitbook\u0026color=B5E8E0\u0026logoColor=D9E0EE\u0026labelColor=302D41\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## :book:\u0026nbsp; Overview\n\n_caran_ is my plugin to add my aliases, command for daily operations. _caran_ is `Cá rán [kaː˧˥ ɹaːn˧˦]` in Vietnamese, and is fried fish dish that I like too.\n\nSame with another fried dish, it's maybe not useful for you :).\n\n## :inbox_tray:\u0026nbsp; Installation\n\n### System Requirements\n\n- [fish](https://github.com/fish-shell/fish-shell) \u003e= `3.2.0`\n- [fisher](https://github.com/jorgebucaran/fisher)\n\nInstall by following command:\n\n```fish\nfisher install dynamo-make-color/fish-caran\n```\n\n## :pencil:\u0026nbsp; Features\n\n- `grc` wrapper to colourise output of some commands\n- `ssh` wrapper to split config directory of ssh\n- Completion of:\n  - `docker-compose`\n  - `exa`\n- Command alias for:\n  - `docker`\n  - `chezmoi`\n  - `gcloud` with `fzf`\n  - `git`\n  - `kubectl`\n  - `ssh`\n  - `xsel`\n  - some commands for sysad tools\n  - some scripts to install tools (and toy)\n  - other stuffs\n\n## :scroll:\u0026nbsp; Cheatsheet\n\n#### chezmoi short command\n\n| Alias | Full command |\n|-------|--------------|\n| cz    | `chezmoi`    |\n| cza   | `cz add`     |\n| czA   | `cz apply`   |\n| cze   | `cz encrypt` |\n| czd   | `cz decrypt` |\n| czD   | `cz diff`    |\n| czu   | `cz update`  |\n\n#### docker short command\n\n| Alias | Full command                       |\n|-------|------------------------------------|\n| d     | `docker`                           |\n| db    | `docker build`                     |\n| di    | `docker image`                     |\n| dl    | `docker logs -f --tail 50`         |\n| dph   | `docker push`                    |\n| dpl   | `docker pull`                      |\n| dps   | `docker ps`                        |\n| dr    | `docker run`                       |\n| drm   | `docker rm`                        |\n| drmi  | `docker rmi`                       |\n| drs   | `docker restart`                   |\n| dsp   | `docker system prune`              |\n| dw    | `docker inspect`                   |\n| dx    | `docker exec -it`                  |\n| c     | `docker-compose`                   |\n| cb    | `docker-compose build`             |\n| cl    | `docker-compose logs -f --tail 50` |\n| cpl   | `docker-compose pull`              |\n| crs   | `docker-compose restart`           |\n| cu    | `docker-compose up`                |\n| cx    | `docker-compose exec`              |\n\n#### git short command\n\n| Alias | Full command                                       |\n|-------|----------------------------------------------------|\n| g     | `git`                                              |\n| ga    | `git add`                                          |\n| gap   | `ga -p`                                            |\n| gai   | `ga -i`                                            |\n| gb    | `git branch`                                       |\n| gbl   | `git blame`                                        |\n| gc    | `git commit -v`                                    |\n| gca   | `gc --amend`                                       |\n| gcan  | `gc --amend --no-edit --reset-author`              |\n| gcl   | `git clean -df`                                    |\n| gco   | `git checkout`                                     |\n| gcp   | `git cherry-pick`                                  |\n| gd    | `git diff`                                         |\n| gdb   | `git branch -D`                                    |\n| gdc   | `gd --cached`                                      |\n| gf    | `git fetch`                                        |\n| gfu   | `gf --unshallow`                                   |\n| gfa   | `gf --all -p`                                      |\n| gg    | `git log --graph --pretty=format:...`              |\n| ggs   | `gg --stat`                                        |\n| gl    | `git pull`                                         |\n| gm    | `git merge --ff`                                   |\n| gmc   | `git merge --continue`                             |\n| gmt   | `git mergetool`                                    |\n| gn    | `git clone --recursive`                            |\n| gnb   | `git checkout -b`                                  |\n| gp    | `git push`                                         |\n| gpo   | `gp -u origin`                                     |\n| gpot  | `gp -u origin --tags`                              |\n| gph   | `gp -u gh`                                         |\n| gpt   | `git push --tags`                                  |\n| grb   | `git rebase`                                       |\n| grbi  | `grb -i`                                           |\n| grbc  | `grb --continue`                                   |\n| grh   | `git reset --hard`                                 |\n| grH   | `git reset HEAD`                                   |\n| grm   | `git remote`                                       |\n| grma  | `grm add`                                          |\n| grmd  | `grm remove`                                       |\n| grmu  | `grm set-url`                                      |\n| grs   | `git reset --soft`                                 |\n| grv   | `git revert`                                       |\n| gR    | `cd (git rev-parse --show-toplevel)`               |\n| gs    | `git status`                                       |\n| gsh   | `git show`                                         |\n| gsm   | `git submodule`                                    |\n| gsn   | `git snapshot`                                     |\n| gst   | `git stash`                                        |\n| gstd  | `gst drop`                                         |\n| gstp  | `gst pop`                                          |\n| gsts  | `gst show --text`                                  |\n| gsu   | `git submodule update --init --recursive --remote` |\n| gt    | `git tag`                                          |\n| gv    | `git mv`                                           |\n| gw    | `git whatchanged`                                  |\n\n#### gcloud short command\n\n| Alias | Full command                    |\n|-------|---------------------------------|\n| G     | `gcloud`                        |\n| Gc    | `gcloud compute`                |\n| Gci   | `gcloud compute instances`      |\n| Gcf   | `gcloud compute firewall-rules` |\n| Gk    | `gcloud container`              |\n| Gp    | `gcloud pubsub`                 |\n| Gs    | `gcloud sql`                    |\n| Gi    | `gcloud iam`                    |\n| Gl    | `gcloud logging`                |\n\n#### k8s short command\n\n| Alias | Full command                |\n|-------|-----------------------------|\n| k     | `kubectl`                   |\n| ka    | `kubectl apply -f`          |\n| kd    | `kubectl delete`            |\n| kdc   | `kubectl describe`          |\n| ke    | `kubectl edit`              |\n| kg    | `kubectl get`               |\n| kk    | `kubectl apply -k`          |\n| kl    | `kubectl logs`              |\n| klf   | `kubectl logs -f --tail 50` |\n| kx    | `kubectl exec -it`          |\n| h     | `helm`                      |\n| hu    | `helm upgrade`              |\n| hd    | `helm delete`               |\n\n#### Nix command\n\n| Alias              | Description        |\n|--------------------|--------------------|\n| install_nix        | Install nix        |\n| update_nix         | Update nix         |\n\n#### FZF integration\n\n##### gcloud\n\n| Alias | Description         |\n|-------|---------------------|\n| fGpc  | Change project      |\n| fGcis | SSH to GCE instance |\n| fGciS | Search GCE instance |\n\n##### git\n\n| Alias | Description                      |\n|-------|----------------------------------|\n| fgcs  | Fuzzy git commit search with fzf |\n\n#### Other command\n\n| Alias         | Description                                                                                               |\n|---------------|-----------------------------------------------------------------------------------------------------------|\n| copy          | Copy command output to clipboard                                                                          |\n| paste         | Paste clipboard to command line input                                                                     |\n| weather       | Show current weather of current network's location                                                        |\n| remote_tunnel | Forward port from SSH machine to local, with `-r`, `-l` argument is port of SSH machine and local machine |\n| local_tunnel  | Forward port from local to SSH machine, with `-r`, `-l` argument is port of SSH machine and local machine |\n| sock_proxy    | Create socks proxy via SSH machine, with `-p` is port of socks proxy in local                             |\n| ssht          | SSH to machine and run tmux on it, with `-s` argument is session name of tmux                             |\n| load_avg      | Current load average of machine                                                                           |\n| syncdy        | Fast rsync command                                                                                        |\n| short_ping    | Ping with a few requests                                                                                  |\n| fast_ping     | Ping with small interval                                                                                  |\n| open_ports    | List all open ports                                                                                       |\n| listen_ports  | List all listening ports                                                                                  |\n| ip_info       | Get information about IP address                                                                          |\n| ip_wan        | Get IP WAN of network client                                                                              |\n| ip_lan        | Get IP LAN of network client                                                                              |\n| mac_vendor    | Get vendor of MAC address                                                                                 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamotn%2Ffish-caran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynamotn%2Ffish-caran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynamotn%2Ffish-caran/lists"}