lib/ztk/command.rb in ztk-1.0.8 vs lib/ztk/command.rb in ztk-1.0.9

- old
+ new

@@ -177,10 +177,10 @@ private # Returns a string in the format of "user@hostname" for the current # shell. def tag - @hostname ||= %x(hostname -f).chomp + @@hostname ||= %x(hostname).chomp "#{ENV['USER']}@#{@hostname}" end # Formats a header suitable for writing to the direct logger when logging # sessions.