Copy the following commands to a txt document and name it smoke.cfg, then add the .cfg file to ~/Steam/steamapps/common/Counter-Strike Global offensive/csgo/cfg. Execute the config ig in console using exec smoke.
sv_cheats 1
sv_infinite_ammo 1
sv_autobunnyhop 1
mp_autoteambalance 0
mp_limitteams 0
mp_roundtime_defuse 60
mp_roundtime 60
mp_startmoney 50000
mp_maxmoney 50000
mp_freezetime 0
mp_buy_anywhere 1
mp_buytime 9999
ammo_grenade_limit_total 5
bot_kick
mp_warmup_end
// Practice
cl_grenadepreview 1
sv_showimpacts 1
sv_showimpacts_time 10
sv_grenade_trajectory 1
sv_grenade_trajectory_time 10