X-CMD v0.4.13
Changelog
Date | |
Source Code | x-cmd/x-cmd/v0.4.13 |
Code Diff | x-cmd/x-cmd/v0.4.12...0.4.13 |
Version Hashsum | sh 61adb9fc6f6167e1380729bc24b0fbfd9d936db29ac649bab3be7b2dae519b2cddd2d5a0a7ae5bb3ad4a5a1935113a95eec1bea6de393cc1f59e4db209a7fc0f |
advise
- Added support for multiple modes of command completion loading, with auto mode as the default.
auto
: Automatic loading (default). Before loadingx-cmd/advise
andbash/zsh-completion
, it checks ifbash/zsh-completion
andcaraspace
are already loaded to avoid overwriting byx-cmd
completions.all
: Loads all completions, includingx-cmd
commands, as well asx-cmd/advise
andbash/zsh-completion
.x
: Only loadsx-cmd
command completions without loadingx-cmd/advise
andbash/zsh-completion
.never
: Disables allx-cmd
command completion functionalities.
ping
Adjust the output of '--csv' and '--tsv' parameters in non-interactive mode.
Fixed the issue where 'x ping' still used '/usr/bin/awk' when mawk was present in macOS, resulting in parameter mismatch.
mac
- A new "disk" command has been added, which includes the ability to view a list of disks, disk information, and the file system capabilities supported by the system.
Example:
sh
# Show me the list of disks
x mac disk ls
# Check the information of the specified disk
x mac disk info /dev/disk0
- New "trash" and "dock" commands have been added, allowing you to manage the trash bin and the dock, respectively.
Example:
sh
# Empty the trash can
x mac trash empty
# Hide the Dock
x mac dock autohide enable