Adding weechat group to profile
This commit is contained in:
		| @@ -3,6 +3,7 @@ | ||||
| # * Weechat is installed | ||||
| # * User doesn't have a running weechat process | ||||
| # * User isn't root | ||||
| if [[ $- == *i* ]] && [ -f `which weechat` ] && [ `ps -u $USER | grep -c weechat` -eq 0 ] && [ $USER != 'root' ]; then | ||||
| # * User is in the weechat group | ||||
| if [[ $- == *i* ]] && [ -f `which weechat` ] && [ `ps -u $USER | grep -c weechat` -eq 0 ] && [ $USER != 'root' ] && [[ "$(id)" =~ weechat ]]; then | ||||
|     weechat; | ||||
| fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user