Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Wezterm

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

Follow https://wezfurlong.org/wezterm/install/linux.html#__tabbed_1_3 to install Wezterm on Debian/Ubuntu series of Linux distributions.

Show Image in Wezterm

wezterm imgcat /path/to/image

Shortcuts

Shortcut …

Tips on Shell Commands

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

explainshell.com

  1. command-not-found - Suggest installation of packages in interactive bash sessions

  2. nohup, disown

  3. nautilus-open-terminal

Configuration

https://github.com/thoughtbot/til/blob/master/bash/bash_profile_vs_bashrc.md#:~:text=bashrc%20is%20sourced%20on%20every …

Good Terminal Apps

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Warp

Warp is a blazingly fast, rust-based terminal reimagined from the ground up to work like a modern app.

wezterm

wezterm is a GPU-accelerated cross-platform terminal emulator and multiplexer implemented in …

Tips on Hyper

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Awesome Hyper

Themes for Hyper

verminal is good one

General Tips

  1. Updating the environment variable SHELL (using the command chsh) to change the default shell doesn't work for Hyper. You have …

Hands on the Cobra Module in Golang

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Comments

  1. Cobra support groups of flags which appear together or are mutually exclusive. For detailed discussions, please refer to Flag Groups .

Quickly Start a Cobra-based project

Below is an example of creating a cobra-based project "icon".