bashmarks

Directory bookmarks for the shell

  • 所有者: huyng/bashmarks
  • 平台:
  • 許可證: BSD 3-Clause "New" or "Revised" License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Bashmarks is a shell script that allows you to save and jump to commonly used directories. Now supports tab completion.

Install

  1. git clone git://github.com/huyng/bashmarks.git
  2. cd bashmarks
  3. make install
  4. source ~/.local/bin/bashmarks.sh from within your ~.bash_profile or ~/.bashrc file

Shell Commands

s <bookmark_name> - Saves the current directory as "bookmark_name"
g <bookmark_name> - Goes (cd) to the directory associated with "bookmark_name"
p <bookmark_name> - Prints the directory associated with "bookmark_name"
d <bookmark_name> - Deletes the bookmark
l                 - Lists all available bookmarks

Example Usage

$ cd /var/www/
$ s webfolder
$ cd /usr/local/lib/
$ s locallib
$ l
$ g web<tab>
$ g webfolder

Where Bashmarks are stored

All of your directory bookmarks are saved in a file called ".sdirs" in your HOME directory.

主要指標

概覽
名稱與所有者huyng/bashmarks
主編程語言Shell
編程語言Makefile (語言數: 2)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2010-07-18 17:35:17
推送於2025-04-16 01:26:47
最后一次提交2025-04-15 18:26:03
發布數0
用户参与
星數1.9k
關注者數46
派生數292
提交數56
已啟用問題?
問題數39
打開的問題數17
拉請求數9
打開的拉請求數16
關閉的拉請求數23
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?