mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
added a couple new color variations on my new prompt theme. also switched to proper 'unset' syntax in zshmarks, instead of destroying variable by setting to null string
This commit is contained in:
parent
279af3301c
commit
ea1cf305fe
4 changed files with 226 additions and 17 deletions
|
|
@ -40,16 +40,11 @@ function go() {
|
|||
else
|
||||
dir="${bookmark%%|*}"
|
||||
cd "${dir}"
|
||||
dir=""
|
||||
unset dir
|
||||
fi
|
||||
}
|
||||
|
||||
# Show a list of the bookmarks
|
||||
function showmarks() {
|
||||
cat ~/.bookmarks | awk '{ printf "%-40s%-40s%s\n",$1,$2,$3}' FS=\|
|
||||
}
|
||||
|
||||
# manually edit bookmarks
|
||||
function editmarks() {
|
||||
$EDITOR $bookmarks_file
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue