$nameddirs  –  Mapping of named directories to paths

$nameddirs maps names of named directories to the paths.

Examples

Use named directory
1
2
3
4
nameddirs=([app_cache]=/var/lib/cache [app_home]=/usr/local/share)
ls -la ~app_home
# output depends on the current system
  
Output:
1
2
3
drwxr-xr-x  2 root root  3 25. Sep 11:05 .
drwxr-xr-x 11 root root 11 20. Aug 2021  ..
lrwxrwxrwx  1 root root  6 18. Sep 15:18 man -> ../man
BashSupport Pro 是一款支持 nameddirs** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2025 Joachim Ansorg
声明
隐私政策
许可条款