lib/aka/core.rb in aka2-0.1.10.pre vs lib/aka/core.rb in aka2-0.1.10

- old
+ new

@@ -1,11 +1,11 @@ module Aka def self.reload_dot_file - isOhMyZsh == TRUE ? system("exec zsh") : system("kill -SIGUSR1 #{Process.ppid}") + isOhMyZsh == true ? system("exec zsh") : system("kill -SIGUSR1 #{Process.ppid}") end def self.unalias_the value - if isOhMyZsh == TRUE + if isOhMyZsh == true system("exec zsh") else system "echo '#{value}' > ~/sigusr1-args;" system "kill -SIGUSR2 #{Process.ppid}" end