Skip to content

Commit

Permalink
Update zmemo
Browse files Browse the repository at this point in the history
  • Loading branch information
hngts authored Jul 7, 2017
1 parent 33e67aa commit 55b93a1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions zmemo
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ function __nsend {
notify-send --icon="face-${1}" --expire-time=$et "$2"
}

function zm_list
{ # Display list of memo/notes
# Display list of memo/notes
function zm_list {
local note;
declare -a all_notes="$(ls -i ${zn_work_loc})"
if [[ -z $all_notes ]]
Expand All @@ -61,8 +61,7 @@ function zm_list
}

# Make new zmemo
function zm_new
{
function zm_new {
local fnpath
zty=$(zenity --forms \
--show-header --width=400 \
Expand Down Expand Up @@ -95,8 +94,8 @@ function zm_new
;; esac
}

function zm_view_edit
{ # View/edit selected memo
# View/edit selected memo
function zm_view_edit {
local file=$zn_work_loc/$1
local t_file="$file.$(date +%s%N).tmp"
local act="--text-info \
Expand Down

0 comments on commit 55b93a1

Please sign in to comment.